Ignore debugger arguments on WinRT
Visual Studio debuggers send an argument to specify the debugger port. This argument needs to be skipped while parsing and not to be interpreted as an option or test function. Change-Id: I24efb52fbd668a7bc3388c876f5ea0d950de1d5b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
4f563f6bee
commit
4058b28494
@ -1540,6 +1540,10 @@ 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) {
|
||||
continue;
|
||||
#endif
|
||||
} else if (argv[i][0] == '-') {
|
||||
fprintf(stderr, "Unknown option: '%s'\n\n%s", argv[i], testOptions);
|
||||
if (qml) {
|
||||
|
Loading…
Reference in New Issue
Block a user