diff options
Diffstat (limited to 'tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp')
-rw-r--r-- | tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp b/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp index 0df0544a06..6a0ad4b3a4 100644 --- a/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp +++ b/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp @@ -84,6 +84,9 @@ void tst_QColorDialog::testNativeActiveModalWidget() // Check that QApplication::activeModalWidget retruns the // color dialog when it is executing, even when using a native // dialog: +#if defined(Q_OS_LINUX) + QSKIP("This test crashes sometimes. Although rarely, but it happens. See QTBUG-50842."); +#endif TestNativeDialog d; QTimer::singleShot(1000, &d, SLOT(hide())); d.exec(); @@ -121,6 +124,9 @@ void tst_QColorDialog::testGetRgba() void tst_QColorDialog::defaultOkButton() { +#if defined(Q_OS_LINUX) + QSKIP("This test crashes sometimes. Although rarely, but it happens. See QTBUG-50842."); +#endif QTimer::singleShot(4000, qApp, SLOT(quit())); QTimer::singleShot(0, this, SLOT(testGetRgba())); qApp->exec(); |