aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/blackbox.qbs
blob: 3f0ff959a757aae04ddfa94b6dcc84a5eb2fa70c (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
import qbs.Utilities

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