From a4864f0fe109cbbe9bc0651c60c027134f3a3bf3 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 11 Aug 2020 16:44:31 +1200 Subject: [PATCH] Core tests: we need our MathML tests to use QTEST_GUILESS_MAIN() on Windows. Otherwise, we get something like: ``` ********* Start testing of MathmlTests ********* Config: Using QtTest library 5.12.9, Qt 5.12.9 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2017) PASS : MathmlTests::initTestCase() QFATAL : MathmlTests::plusTests() ASSERT: "!m_baseURI.isRelative()" in file environment\qgenericstaticcontext.cpp, line 82 FAIL! : MathmlTests::plusTests() Received a fatal error. Unknown file(0) : failure location Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 91ms ********* Finished testing of MathmlTests ********* ``` --- src/plugins/miscellaneous/Core/tests/mathmltests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/miscellaneous/Core/tests/mathmltests.cpp b/src/plugins/miscellaneous/Core/tests/mathmltests.cpp index cd55a9503c..8fc2d52625 100644 --- a/src/plugins/miscellaneous/Core/tests/mathmltests.cpp +++ b/src/plugins/miscellaneous/Core/tests/mathmltests.cpp @@ -284,7 +284,7 @@ void MathmlTests::trigonometricTests() //============================================================================== -QTEST_APPLESS_MAIN(MathmlTests) +QTEST_GUILESS_MAIN(MathmlTests) //============================================================================== // End of file