Group 8 migration: Add build script support and CTest infrastructure
- Added --group8/--no-group8 argument support to new_docker_build.sh - Added BUILD_GROUP8 variable and GROUP8_TARGETS array - Fixed ProjectSettingsEditor Qt6 migration (QT5_ADD_RESOURCES → qt6_add_resources) - Created CTest test files for 4 buildable Group 8 tools: - test_ParticipantDataGenerator.cpp - test_ProjectSettingsEditor.cpp - test_QLedLine.cpp - test_QLedMatrix.cpp - Added test exclusion filters to tests/CMakeLists.txt for Group 8 tools - Excluded non-CMake projects: JustusTimeline (Python), Mout (web), NodeJs (Node.js), ProjectSettingsParser (Python) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
7 files changed
+123
-2
No files matched your search
@@ -153,6 +153,19 @@ if(BUILD_TESTING)
|
||||
if(NOT TARGET egcuSimulator)
|
||||
list(FILTER EXISTING_SOURCES EXCLUDE REGEX "test_egcuSimulator\\.cpp")
|
||||
endif()
|
||||
# Group 8 (J,M,N,P,Q) exclusions
|
||||
if(NOT TARGET ParticipantDataGenerator)
|
||||
list(FILTER EXISTING_SOURCES EXCLUDE REGEX "test_ParticipantDataGenerator\\.cpp")
|
||||
endif()
|
||||
if(NOT TARGET ProjectSettingsEditor)
|
||||
list(FILTER EXISTING_SOURCES EXCLUDE REGEX "test_ProjectSettingsEditor\\.cpp")
|
||||
endif()
|
||||
if(NOT TARGET QLedLine)
|
||||
list(FILTER EXISTING_SOURCES EXCLUDE REGEX "test_QLedLine\\.cpp")
|
||||
endif()
|
||||
if(NOT TARGET QLedMatrix)
|
||||
list(FILTER EXISTING_SOURCES EXCLUDE REGEX "test_QLedMatrix\\.cpp")
|
||||
endif()
|
||||
|
||||
if(NOT EXISTING_SOURCES)
|
||||
message(WARNING "No migration test sources found after filtering - skipping migration_tests target")
|
||||
|
||||
Reference in new issue
Block a user