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>
This commit is contained in:
parent
245acbf6e8
commit
cd75ca0dbd
@ -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] == '-') {
|
||||
|
Loading…
Reference in New Issue
Block a user