From 8c8fb4b0638f0cb41c8d546f78c5f3702edeb3a5 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 23 Oct 2019 15:03:14 +0200 Subject: Fix qbsSession autotest It failed with mingw on Windows. Change-Id: Ia5cc3b4590ea184106cee6119b9670138ad5fb07 Reviewed-by: Joerg Bornemann --- tests/auto/blackbox/tst_blackbox.cpp | 4 ++-- 1 file 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") { -- cgit v1.2.3