aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/vcs
diff options
context:
space:
mode:
authorRaphael Cotty <raphael.cotty@gmail.com>2022-01-28 11:46:05 +0100
committerraphaelcotty <raphaelcotty@codereview.qt-project.org>2022-01-31 22:26:39 +0000
commitaa2094761aec16001ac0d19bf85483fdc2c78611 (patch)
treee2fcc1a97d4ba0ce6a2d57069d700da8c7ef74ec /tests/auto/blackbox/testdata/vcs
parentf726d465ff6365846e5a78f61e2cedd6e9ff6609 (diff)
Use Host and FileInfo service
Replace all the possible use of the qbs module that can be replaced by the Host and FileInfo services. Change-Id: I0d6f820bb2577eacd9081ec2df1eb53adf94d50e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/vcs')
-rw-r--r--tests/auto/blackbox/testdata/vcs/vcstest.qbs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/vcs/vcstest.qbs b/tests/auto/blackbox/testdata/vcs/vcstest.qbs
index dabe889b6..4f861654b 100644
--- a/tests/auto/blackbox/testdata/vcs/vcstest.qbs
+++ b/tests/auto/blackbox/testdata/vcs/vcstest.qbs
@@ -1,6 +1,8 @@
+import qbs.Host
+
CppApplication {
condition: {
- var result = qbs.targetPlatform === qbs.hostPlatform;
+ var result = qbs.targetPlatform === Host.platform();
if (!result)
console.info("targetPlatform differs from hostPlatform");
return result;