File tree 3 files changed +4
-5
lines changed
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")
31
31
endif ()
32
32
33
33
if (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 )
36
36
endif ()
37
37
38
38
add_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")
16
16
endif ()
17
17
18
18
if (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)
21
20
endif ()
22
21
23
22
add_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)
36
36
void TestTranslationHandler::construct () const
37
37
{
38
38
TranslationHandler handler;
39
- QCOMPARE (getTranslationNames (handler).size (), 13 ); // 12 translations + english
39
+ QCOMPARE (getTranslationNames (handler).size (), 15 ); // 14 translations + english
40
40
QCOMPARE (handler.getCurrentLanguage (), QString (" en" ));
41
41
}
42
42
You can’t perform that action at this time.
0 commit comments