tests: skip tst_QMenuBar::check_cursorKeys* on Unity
This test is flaky on Unity due to regression introduced by QTBUG-39362. Skip the test functions until QTBUG-39362 is resolved. These test functions do not fail on Gnome and KDE, so the functionality tested by check_cursorKeys* will be covered by other linux distributions in CI. Change-Id: Ifd1a7779a9728142424f4956dd6466c822ccde91 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
254849b62a
commit
01f5f77c66
@ -633,6 +633,9 @@ void tst_QMenuBar::check_accelKeys()
|
||||
#if !defined(Q_OS_DARWIN)
|
||||
void tst_QMenuBar::check_cursorKeys1()
|
||||
{
|
||||
if (qgetenv("XDG_CURRENT_DESKTOP") == "Unity")
|
||||
QSKIP("This test is flaky on Ubuntu/Unity due to regression introduced by QTBUG-39362");
|
||||
|
||||
QMainWindow w;
|
||||
initWindowWithComplexMenuBar(w);
|
||||
w.show();
|
||||
@ -667,6 +670,9 @@ void tst_QMenuBar::check_cursorKeys1()
|
||||
#if !defined(Q_OS_DARWIN)
|
||||
void tst_QMenuBar::check_cursorKeys2()
|
||||
{
|
||||
if (qgetenv("XDG_CURRENT_DESKTOP") == "Unity")
|
||||
QSKIP("This test is flaky on Ubuntu/Unity due to regression introduced by QTBUG-39362");
|
||||
|
||||
QMainWindow w;
|
||||
initWindowWithComplexMenuBar(w);
|
||||
w.show();
|
||||
@ -700,6 +706,9 @@ void tst_QMenuBar::check_cursorKeys2()
|
||||
#if !defined(Q_OS_DARWIN)
|
||||
void tst_QMenuBar::check_cursorKeys3()
|
||||
{
|
||||
if (qgetenv("XDG_CURRENT_DESKTOP") == "Unity")
|
||||
QSKIP("This test is flaky on Ubuntu/Unity due to regression introduced by QTBUG-39362");
|
||||
|
||||
QMainWindow w;
|
||||
initWindowWithComplexMenuBar(w);
|
||||
w.show();
|
||||
|
Loading…
Reference in New Issue
Block a user