Add gb-starter-kit to test suite, excluding it on Windows, macOS, and BSD (#1753)

This commit is contained in:
Rangi
2025-07-16 18:17:01 -04:00
committed by GitHub
parent 7f24d46d44
commit 776e37980b
7 changed files with 37 additions and 13 deletions

View File

@@ -9,6 +9,9 @@ endif()
if(NOT USE_EXTERNAL_TESTS)
set(ONLY_INTERNAL "--only-internal")
endif()
if(DEFINED OS)
set(OS_NAME "--os" "${OS}")
endif()
add_executable(randtilegen gfx/randtilegen.cpp)
add_executable(rgbgfx_test gfx/rgbgfx_test.cpp)
@@ -31,6 +34,6 @@ foreach(TARGET randtilegen rgbgfx_test)
endforeach()
add_test(NAME all
COMMAND ./run-tests.sh ${ONLY_FREE} ${ONLY_INTERNAL}
COMMAND ./run-tests.sh ${ONLY_FREE} ${ONLY_INTERNAL} ${OS_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)