aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs')
-rw-r--r--tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs b/tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs
index 90f7e5b96..6fee91479 100644
--- a/tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs
+++ b/tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs
@@ -42,9 +42,9 @@ Project {
cmd.description = "running " + input.filePath;
var envVars = {};
- if (Host.os().contains("windows")) {
+ if (Host.os().includes("windows")) {
envVars["PATH"] = FileInfo.toWindowsSeparators(input["Qt.core"].binPath);
- } else if (Host.os().contains("macos")) {
+ } else if (Host.os().includes("macos")) {
envVars["DYLD_LIBRARY_PATH"] = input["Qt.core"].libPath;
envVars["DYLD_FRAMEWORK_PATH"] = input["Qt.core"].libPath;
} else {