From 67f96d88bf1dad76c89b11caaa79177d75953866 Mon Sep 17 00:00:00 2001 From: Tomi Korpipaa Date: Thu, 25 Feb 2021 15:13:24 +0200 Subject: Disable tst_qmltest on QEMU QEMU does not have support for createPlatformOpenGLContext, which is required for the QML applications to work. Task-number: QTBUG-91381 Change-Id: I1c61146f889a3ffad49157f3c17cff0bcd3a01c9 Reviewed-by: Miikka Heikkinen --- tests/auto/qmltest/tst_qmltest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/qmltest/tst_qmltest.cpp b/tests/auto/qmltest/tst_qmltest.cpp index 8cc3c85b..746430c5 100644 --- a/tests/auto/qmltest/tst_qmltest.cpp +++ b/tests/auto/qmltest/tst_qmltest.cpp @@ -30,6 +30,10 @@ #include int main(int argc, char **argv) { + if (!qEnvironmentVariableIsEmpty("QEMU_LD_PREFIX")) { + qWarning("This test will fail due to QEMU emulation shortcomings."); + return 0; + } qputenv("QSG_RHI_BACKEND", "opengl"); QTEST_SET_MAIN_SOURCE_PATH return quick_test_main(argc, argv, "qmltest", QUICK_TEST_SOURCE_DIR); -- cgit v1.2.3