summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2022-02-12 19:07:16 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2022-02-21 13:38:51 +0000
commit7d83ab5bdf8026b142da22d5fa2627f405c1bca9 (patch)
tree8cad3028307be43647de43bd0f6530986d890816 /share
parent5a7aac60df8000bd4c5ed255f69eaf4b9d5b92db (diff)
downloadqbs-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.qbs2
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;
}
}
}