From 5eedf525f58f3118cc8ba630c01f5fcf125d2665 Mon Sep 17 00:00:00 2001 From: reionwong Date: Sat, 17 Oct 2026 06:34:05 +0800 Subject: [PATCH] test: run the UI tests one at a time as they own names on the session bus --- tests/ui/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ui/CMakeLists.txt b/tests/ui/CMakeLists.txt index eaafa7e..e4df938 100644 --- a/tests/ui/CMakeLists.txt +++ b/tests/ui/CMakeLists.txt @@ -23,7 +23,8 @@ endforeach() add_executable(settings-ui-tests main.cpp ${SETTINGS_UI_TESTS}) target_compile_definitions(settings-ui-tests PRIVATE SETTINGS_SOURCE_DIR="${PROJECT_SOURCE_DIR}/src") target_link_libraries(settings-ui-tests PRIVATE settings-ui GTest::gtest) -gtest_discover_tests(settings-ui-tests) +# The pages' fakes own their services' names on the shared session bus. +gtest_discover_tests(settings-ui-tests PROPERTIES RESOURCE_LOCK settings-session-bus) # Renders every page headless into PNGs, light and dark, at 100% and 150%. add_executable(settings-capture capture.cpp)