aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-10-23 15:03:14 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-10-23 15:09:45 +0000
commit8c8fb4b0638f0cb41c8d546f78c5f3702edeb3a5 (patch)
tree6baf7d836c1da35531e0a1b3ee062ee1b95ac34b
parenta703c788abc0035bafe53a05370900db0a3ac43c (diff)
Fix qbsSession autotest
It failed with mingw on Windows. Change-Id: Ia5cc3b4590ea184106cee6119b9670138ad5fb07 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index d04ed91d8..72f610364 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -5621,8 +5621,8 @@ void TestBlackbox::qbsSession()
} else if (msgType == "task-progress") {
receivedProgressData = true;
} else if (msgType == "command-description") {
- if (receivedMessage.value("message").toString().contains(
- QDir::separator() + QString("main.cpp"))) {
+ if (QDir::fromNativeSeparators(receivedMessage.value("message").toString())
+ .contains("/main.cpp")) {
receivedCommandDescription = true;
}
} else if (msgType == "process-result") {