diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-09-07 17:17:44 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-09-11 09:50:38 +0000 |
commit | 9ddd380d059e34976947fbcbf0194203e9eaf181 (patch) | |
tree | 18b8b30f3b91db0ba1f60d338806b17884c9370f /tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs | |
parent | 2a07602a11217293a67f072130f24eaf6139f754 (diff) |
Tests: Remove some dependencies on profiles
Various conditional tests were erroneously skipped when run without an
explicit profile. Fix this by checking the actual toolchain used instead
of profile contents.
Change-Id: I9cc589f038d76112998a126cce4bf314a57c742e
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs b/tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs index 9f57b7f01..4198b863f 100644 --- a/tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs +++ b/tests/auto/blackbox/testdata/separate-debug-info/separate-debug-info.qbs @@ -8,10 +8,13 @@ Project { Probe { id: osProbe property stringList targetOS: qbs.targetOS + property stringList toolchain: qbs.toolchain configure: { console.info("is windows: " + (targetOS.includes("windows") ? "yes" : "no")); console.info("is macos: " + (targetOS.includes("macos") ? "yes" : "no")); console.info("is darwin: " + (targetOS.includes("darwin") ? "yes" : "no")); + console.info("is gcc: " + (toolchain.includes("gcc") ? "yes" : "no")); + console.info("is msvc: " + (toolchain.includes("msvc") ? "yes" : "no")); } } } |