aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/timeout-js/timeout.qbs
blob: 26aa4ce87df82c7095568011f9f6fa601ad33d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Product {
    type: "product-under-test"
    Rule {
        multiplex: true
        Artifact {
            filePath: "output.txt"
            fileTags: "product-under-test"
        }
        prepare: {
            var cmd = new JavaScriptCommand();
            cmd.description = "Running infinite loop";
            cmd.sourceCode = function() {
                while (true)
                    ;
            }
            cmd.timeout = 3;
            return cmd;
        }
    }
}