aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/autotests/autotests.qbs
blob: 4927a88697db2def921c3ccdd23be92094fcf093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Project {
    references: ["test1", "test2", "test3"]
    AutotestRunner {
        condition: {
            var result = qbs.targetPlatform === qbs.hostPlatform;
            if (!result)
                console.info("targetPlatform differs from hostPlatform");
            return result;
        }
        Depends {
            name: "cpp" // Make sure build environment is set up properly.
            condition: qbs.hostOS.contains("windows") && qbs.toolchain.contains("gcc")
        }
    }
}