diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2022-02-12 19:07:16 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2022-02-21 13:38:51 +0000 |
commit | 7d83ab5bdf8026b142da22d5fa2627f405c1bca9 (patch) | |
tree | 8cad3028307be43647de43bd0f6530986d890816 /share | |
parent | 5a7aac60df8000bd4c5ed255f69eaf4b9d5b92db (diff) | |
download | qbs-7d83ab5bdf8026b142da22d5fa2627f405c1bca9.tar.gz |
baremetal: Add test to check toolchain probes
Right now we don't have tests that could check the correctness of the
properties returned by toolchain probes.
For example, such as `architecture`, `targetPlatform`, `endianness`
and so forth. The number of returned parameters depends on the type
of toolchain.
This patch adds a test for the probe for the `watcom` toolchain and
can be used as a template for adding the tests for other probes in the
future.
Change-Id: I5ebda0deb7538f746406f5b0925bdd60fdb4c3fb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/imports/qbs/Probes/WatcomProbe.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/imports/qbs/Probes/WatcomProbe.qbs b/share/qbs/imports/qbs/Probes/WatcomProbe.qbs index 09511458f..3ea22acb3 100644 --- a/share/qbs/imports/qbs/Probes/WatcomProbe.qbs +++ b/share/qbs/imports/qbs/Probes/WatcomProbe.qbs @@ -92,7 +92,7 @@ PathProbe { versionMajor = version.major; versionMinor = version.minor; versionPatch = version.patch; - found = !!version.found && !!architecture && !!targetPlatform; + found = !!architecture && !!targetPlatform; } } } |