Output QSysInfo::productType() and productVersion() in test config line
This makes it easier to know which values to use in BLACKLIST files for a flaky test, for example. Pick-to: 5.15 Change-Id: I12af99d68f97e016aa42be9ae9d70de5fc0a58ed Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
6e806b5339
commit
1dbaf037a8
@ -329,7 +329,8 @@ void QPlainTestLogger::startLogging()
|
||||
qsnprintf(buf, sizeof(buf),
|
||||
"********* Start testing of %s *********\n"
|
||||
"Config: Using QtTest library " QTEST_VERSION_STR
|
||||
", %s\n", QTestResult::currentTestObjectName(), QLibraryInfo::build());
|
||||
", %s, %s %s\n", QTestResult::currentTestObjectName(), QLibraryInfo::build(),
|
||||
qPrintable(QSysInfo::productType()), qPrintable(QSysInfo::productVersion()));
|
||||
}
|
||||
outputMessage(buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user