aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs')
-rw-r--r--tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs b/tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs
new file mode 100644
index 000000000..d7dc02cc2
--- /dev/null
+++ b/tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs
@@ -0,0 +1,19 @@
+Project {
+
+ property bool probesEvaluated: probe.found
+
+ Probe {
+ id: probe
+ configure: {
+ found = true;
+ }
+ }
+
+ Profile {
+ name: "the-profile"
+ cpp.includePaths: {
+ if (!probesEvaluated)
+ throw "project-level probes not evaluated";
+ }
+ }
+}