aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/autotests/autotests.qbs
blob: cfb7fc560240323e5ccc91c946a143640390e692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import qbs.Host

Project {
    references: ["test1", "test2", "test3"]
    AutotestRunner {
        condition: {
            var result = qbs.targetPlatform === Host.platform();
            if (!result)
                console.info("targetPlatform differs from hostPlatform");
            return result;
        }
        Depends {
            name: "cpp" // Make sure build environment is set up properly.
            condition: Host.os().includes("windows") && qbs.toolchain.includes("gcc")
        }
    }
}