File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
3131endif ()
3232
3333if (REGISTER_GUI_TESTS)
34- # TODO: does not work in the CI
35- # add_test(NAME test-resultstree COMMAND $<TARGET_FILE:test-resultstree>)
34+ # TODO: might crash - see #13223
35+ #add_test(NAME test-resultstree COMMAND $<TARGET_FILE:test-resultstree> -platform offscreen )
3636endif ()
3737
3838add_dependencies (gui-tests test -resultstree)
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1616endif ()
1717
1818if (REGISTER_GUI_TESTS)
19- # TODO: requires X session - run with QT_QPA_PLATFORM=offscreen?
20- #add_test(NAME test-translationhandler COMMAND $<TARGET_FILE:test-translationhandler>)
19+ add_test (NAME test -translationhandler COMMAND $<TARGET_FILE:test -translationhandler> -platform offscreen)
2120endif ()
2221
2322add_dependencies (gui-tests test -translationhandler)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ static QStringList getTranslationNames(const TranslationHandler& handler)
3636void TestTranslationHandler::construct () const
3737{
3838 TranslationHandler handler;
39- QCOMPARE (getTranslationNames (handler).size (), 13 ); // 12 translations + english
39+ QCOMPARE (getTranslationNames (handler).size (), 15 ); // 14 translations + english
4040 QCOMPARE (handler.getCurrentLanguage (), QString (" en" ));
4141}
4242
You can’t perform that action at this time.
0 commit comments