diff options
Diffstat (limited to 'tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs')
-rw-r--r-- | tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs b/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs new file mode 100644 index 000000000..166f598dd --- /dev/null +++ b/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs @@ -0,0 +1,32 @@ +import qbs + +Project { + CppApplication { + type: "application" // suppress bundle generation + files: "main.cpp" + name: "infinite-loop" + } + + Product { + type: "mytype" + name: "caller" + Depends { name: "infinite-loop" } + Group { + files: "dummy-input.txt" // Needed because of QBS-277 + fileTags: "schnurz" + } + Rule { + inputs: "schnurz" + usings: "application" + Artifact { + fileName: "dummy" + fileTags: "mytype" + } + prepare: { + var cmd = new Command(inputs["application"][0].filePath); + cmd.description = "Calling application that runs forever"; + return cmd; + } + } + } +} |