summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2014-11-19 14:21:40 +0100
committerMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2014-11-21 16:44:36 +0100
commitcd75ca0dbd2b9b6cef8fd840f3ecdeeb04502362 (patch)
treef63a8ec3c8f6294c70efb6bc38d777855e4b9a42 /src/testlib
parent245acbf6e81518958228d295bdb6a64298b09351 (diff)
WinRT: Ignore winrtrunner specific arguments
qdevel is an option used from winrtrunner to indicate a specific environment to the app. QTestLib needs to ignore that parameter similar to the Visual Studio generated arguments. Change-Id: I00a3abe19f1e5b4159e65d26050f04e28f40316f Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Andrew Knight <andrew.knight@theqtcompany.com>
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtestcase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index b174913eae..928a3f31f1 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1728,7 +1728,8 @@ Q_TESTLIB_EXPORT void qtest_qParseArgs(int argc, char *argv[], bool qml)
} else if (strcmp(argv[i], "-vb") == 0) {
QBenchmarkGlobalData::current->verboseOutput = true;
#ifdef Q_OS_WINRT
- } else if (strncmp(argv[i], "-ServerName:", 12) == 0) {
+ } else if (strncmp(argv[i], "-ServerName:", 12) == 0 ||
+ strncmp(argv[i], "-qdevel", 7) == 0) {
continue;
#endif
} else if (argv[i][0] == '-') {