summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2020-09-27 00:17:25 +0200
committerRichard Weickelt <richard@weickelt.de>2020-09-27 18:50:37 +0000
commit84e3c87516ea91b988d8865a359d5052867778b2 (patch)
treecb4fb02255fce3eea9a4d2d0b3b8d7a4f4e7ee6f /tests
parenta1156d1237ea7ad053e9048c7643208d922cd76b (diff)
downloadqbs-84e3c87516ea91b988d8865a359d5052867778b2.tar.gz
Remove cpp dependency from PathProbe blackbox tests
This reduces execution time to 1s (was 10s) and simplifies PathProbe debugging because the cpp module contains probes as well. Change-Id: Iddd4de71143892d6815acbd1efff30f92d70a423 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata/path-probe/BaseApp.qbs4
-rw-r--r--tests/auto/blackbox/testdata/path-probe/main.cpp1
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/blackbox/testdata/path-probe/BaseApp.qbs b/tests/auto/blackbox/testdata/path-probe/BaseApp.qbs
index 13c69f72f..acafdb52b 100644
--- a/tests/auto/blackbox/testdata/path-probe/BaseApp.qbs
+++ b/tests/auto/blackbox/testdata/path-probe/BaseApp.qbs
@@ -31,7 +31,7 @@
import qbs.FileInfo
import qbs.Probes
-CppApplication {
+Product {
property varList inputSelectors
property varList inputNames
@@ -129,6 +129,4 @@ CppApplication {
+ ", expected = " + JSON.stringify(expectedCandidatePaths);
}
}
-
- files: ["main.cpp"]
}
diff --git a/tests/auto/blackbox/testdata/path-probe/main.cpp b/tests/auto/blackbox/testdata/path-probe/main.cpp
deleted file mode 100644
index 76e819701..000000000
--- a/tests/auto/blackbox/testdata/path-probe/main.cpp
+++ /dev/null
@@ -1 +0,0 @@
-int main() { return 0; }