Ignore hanging tst_qinputdialog::getInt/getDouble() test on macOS 10.12
Change-Id: I495cd98144ba9145e44a9ee5cb8748ae97a6166f Task-number: QTQAINFRA-1356 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
f3ca13f3d1
commit
d1d2ca2b41
@ -257,6 +257,14 @@ void tst_QInputDialog::getInt()
|
||||
QFETCH(int, min);
|
||||
QFETCH(int, max);
|
||||
QVERIFY(min < max);
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
if (QSysInfo::productVersion() == QLatin1String("10.12")) {
|
||||
QSKIP("Test hangs on macOS 10.12 -- QTQAINFRA-1356");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
parent = new QWidget;
|
||||
doneCode = QDialog::Accepted;
|
||||
testFunc = &tst_QInputDialog::testFuncGetInt;
|
||||
@ -297,6 +305,14 @@ void tst_QInputDialog::getDouble()
|
||||
QFETCH(double, max);
|
||||
QFETCH(int, decimals);
|
||||
QVERIFY(min < max && decimals >= 0 && decimals <= 13);
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
if (QSysInfo::productVersion() == QLatin1String("10.12")) {
|
||||
QSKIP("Test hangs on macOS 10.12 -- QTQAINFRA-1356");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
parent = new QWidget;
|
||||
doneCode = QDialog::Accepted;
|
||||
testFunc = &tst_QInputDialog::testFuncGetDouble;
|
||||
|
Loading…
x
Reference in New Issue
Block a user