summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/blackbox.qbs
blob: 7ae40e471277998b11a71e5b1b3fe4b0678343c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import qbs 1.0

Project {
    name: "blackbox tests"

    QbsAutotest {
        testName: "blackbox"
        Depends { name: "Qt.xml" }
        Depends { name: "qbs_app" }
        Depends { name: "qbs-setup-toolchains" }
        Group {
            name: "testdata"
            prefix: "testdata/"
            files: ["**/*"]
            fileTags: []
        }
        files: [
            "../shared.h",
            "tst_blackboxbase.cpp",
            "tst_blackboxbase.h",
            "tst_blackbox.cpp",
            "tst_blackbox.h",
        ]
        // TODO: Use Utilities.cStringQuote
        cpp.defines: base.concat(['SRCDIR="' + path + '"'])
    }

    QbsAutotest {
        testName: "blackbox-java"
        Depends { name: "qbs_app" }
        Depends { name: "qbs-setup-toolchains" }
        Group {
            name: "testdata"
            prefix: "testdata-java/"
            files: ["**/*"]
            fileTags: []
        }
        files: [
            "../shared.h",
            "tst_blackboxbase.cpp",
            "tst_blackboxbase.h",
            "tst_blackboxjava.cpp",
            "tst_blackboxjava.h",
        ]
        // TODO: Use Utilities.cStringQuote
        cpp.defines: base.concat(['SRCDIR="' + path + '"'])
    }

    QbsAutotest {
        testName: "blackbox-clangdb"

        Depends { name: "qbs_app" }
        Depends { name: "qbs-setup-toolchains" }

        Group {
            name: "testdata"
            prefix: "testdata-clangdb/"
            files: ["**/*"]
            fileTags: []
        }

        files: [
            "../shared.h",
            "tst_blackboxbase.cpp",
            "tst_blackboxbase.h",
            "tst_clangdb.cpp",
            "tst_clangdb.h",
        ]
        // TODO: Use Utilities.cStringQuote
        cpp.defines: base.concat(['SRCDIR="' + path + '"'])
    }
}