diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2023-04-23 15:36:17 +0500 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2023-04-30 19:49:00 +0000 |
commit | 53a476fbcd9601f5cab5329c385f6c39a82ff038 (patch) | |
tree | 330ce6d83b1f579701ddff9bae6b2a058ec497ab /tests/auto/blackbox/testdata-providers/probe-in-module-provider/module-providers/provider_a.qbs | |
parent | e71325baf7f5da4ac06623558170b1d6cf4ce4dc (diff) | |
download | qbs-53a476fbcd9601f5cab5329c385f6c39a82ff038.tar.gz |
Move providers tests to a dedicated test suite
We have quite a few test cases and will probably have more
for new providers and/or Packages.
Change-Id: Ia3685b47b6a533020f1696827381e8d48fa8c4d1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata-providers/probe-in-module-provider/module-providers/provider_a.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata-providers/probe-in-module-provider/module-providers/provider_a.qbs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-providers/probe-in-module-provider/module-providers/provider_a.qbs b/tests/auto/blackbox/testdata-providers/probe-in-module-provider/module-providers/provider_a.qbs new file mode 100644 index 000000000..8a7c7d6ed --- /dev/null +++ b/tests/auto/blackbox/testdata-providers/probe-in-module-provider/module-providers/provider_a.qbs @@ -0,0 +1,16 @@ +import "../../qbs-module-providers-helpers.js" as Helpers + +ModuleProvider { + Probe { + id: theProbe + configure: { + console.info("Running probe"); + found = true; + } + } + property bool found: theProbe.found + relativeSearchPaths: { + Helpers.writeModule(outputBaseDir, "qbsmetatestmodule", undefined, undefined, found); + return ""; + } +} |