Skip unstable qlineedit autotest on Ubuntu 11.10.

Task-number: QTBUG-24518

Change-Id: Ia271a820613c1f8a885779eddd20e261716afc6d
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Toby Tomkins 2012-02-27 13:26:56 +10:00 committed by Qt by Nokia
parent 35ef771d5a
commit 472b06d63a
2 changed files with 6 additions and 0 deletions

View File

@ -2,3 +2,6 @@ CONFIG += testcase
TARGET = tst_qlineedit
QT += gui-private core-private widgets testlib
SOURCES += tst_qlineedit.cpp
# QTBUG-24518 - unstable test
linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC

View File

@ -3616,6 +3616,9 @@ void tst_QLineEdit::taskQTBUG_7902_contextMenuCrash()
void tst_QLineEdit::taskQTBUG_7395_readOnlyShortcut()
{
#if defined(UBUNTU_ONEIRIC) && defined(__x86_64__)
QSKIP("QTBUG-24518 - Unstable test for Ubuntu 11.10");
#endif
//ReadOnly QLineEdit should not intercept shortcut.
QLineEdit le;
le.setReadOnly(true);