Expect fails in QApplication test functions for VxWorks
"libraryPaths" and "libraryPaths_qt_plugin_path" test functions fail on VxWorks, due to missing path to "/usr/local/Qt-6.9.0/plugins" which test expects. The exact reason of this failure is to be found. We need to run tests on COIN for VxWorks as significant, and this test prevents it, to reduce growing number of regressions and allow iterative introduction of VxWorks as a supported platform. Add QEXPECT_FAIL in library-path-related test function of tst_QApplication for VxWorks. Task-number: QTBUG-115777 Task-number: QTBUG-130736 Change-Id: I08bb8b3f4a776303f61aebd931e5f3ddf3f1f39e Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
parent
95ee391011
commit
2f7d87555b
@ -1010,6 +1010,9 @@ void tst_QApplication::libraryPaths()
|
||||
expected = QSet<QString>(expected.constBegin(), expected.constEnd()).values();
|
||||
expected.sort();
|
||||
|
||||
#if defined(Q_OS_VXWORKS)
|
||||
QEXPECT_FAIL("", "QTBUG-130736: Actual paths on VxWorks differ from expected", Abort);
|
||||
#endif
|
||||
QVERIFY2(isPathListIncluded(actual, expected),
|
||||
qPrintable("actual:\n - " + actual.join("\n - ") +
|
||||
"\nexpected:\n - " + expected.join("\n - ")));
|
||||
@ -1117,6 +1120,9 @@ void tst_QApplication::libraryPaths_qt_plugin_path_2()
|
||||
<< QDir(QCoreApplication::applicationDirPath()).canonicalPath()
|
||||
<< QDir(QDir::fromNativeSeparators(QString::fromLatin1(validPath))).canonicalPath();
|
||||
|
||||
#if defined(Q_OS_VXWORKS)
|
||||
QEXPECT_FAIL("", "QTBUG-130736: Actual paths on VxWorks differ from expected", Abort);
|
||||
#endif
|
||||
QVERIFY2(isPathListIncluded(QCoreApplication::libraryPaths(), expected),
|
||||
qPrintable("actual:\n - " + QCoreApplication::libraryPaths().join("\n - ") +
|
||||
"\nexpected:\n - " + expected.join("\n - ")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user