From bea5478433afbd10448e1bad188be5da4454dc4e Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 2 Nov 2026 17:37:26 +0100 Subject: [PATCH] Run focused mouse input regressions in configured test suites (by Codex) --- CMakeLists.txt | 2 ++ src/ui/CMakeLists.txt | 1 + tests/app_controller_tests.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2eb009..2ef787e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -514,6 +514,8 @@ if(MSVC) endif() bmh_add_data_test(NAME app_controller_tests COMMAND app_controller_tests "${BMH_DATA}") set(BMH_TEST_APP_DELAY_SETTINGS_TESTS_INPUT_1 "" CACHE PATH "External input 1 for app_delay_settings_tests; not distributed") +bmh_add_data_test(NAME app_desktop_input_tests COMMAND app_controller_tests "${BMH_DATA}" --desktop-input-only) +bmh_add_data_test(NAME app_advertising_input_tests COMMAND app_controller_tests "${BMH_DATA}" --advertising-input-only) bmh_add_data_test(NAME app_environment_tests COMMAND app_controller_tests "${BMH_DATA}" --environment-only) bmh_add_data_test(NAME app_delay_settings_tests REQUIRED_OPTIONS BMH_TEST_APP_DELAY_SETTINGS_TESTS_INPUT_1 COMMAND app_controller_tests "${BMH_DATA}" --delay-settings-only "${BMH_TEST_APP_DELAY_SETTINGS_TESTS_INPUT_1}") diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 3425f81..fe5a6cf 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -94,6 +94,7 @@ set(BMH_UI_REFERENCE_SAVE "" CACHE FILEPATH "Optional original LABA0012 desktop add_executable(ui_desktop_tests desktop_tests.cpp) target_link_libraries(ui_desktop_tests PRIVATE bmhui) set(BMH_TEST_UI_DESKTOP_TESTS_INPUT_1 "" CACHE PATH "External input 1 for ui_desktop_tests; not distributed") +bmh_add_data_test(NAME ui_desktop_input_tests COMMAND ui_desktop_tests "${BMH_DATA}" --input-only) bmh_add_data_test(NAME ui_desktop_tests REQUIRED_OPTIONS BMH_TEST_UI_DESKTOP_TESTS_INPUT_1 COMMAND ui_desktop_tests "${BMH_DATA}" "${BMH_UI_REFERENCE_SAVE}" "${BMH_TEST_UI_DESKTOP_TESTS_INPUT_1}") set(BMH_UI_PREPARATION_SAVE "" CACHE FILEPATH "Optional original LABA0020 reference after observed menu entry effects; never bundled") diff --git a/tests/app_controller_tests.cpp b/tests/app_controller_tests.cpp index 567a2dd..32a16c6 100644 --- a/tests/app_controller_tests.cpp +++ b/tests/app_controller_tests.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include