File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ case "$AUTOBUILD_PLATFORM" in
6363 cmake --install . --config Debug
6464
6565 # conditionally run unit tests
66- # if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
67- # ctest -C Debug
68- # fi
66+ if [ " ${DISABLE_UNIT_TESTS:- 0} " = " 0" ]; then
67+ ctest --test-dir . -C Debug
68+ fi
6969
7070 cp $stage /debug/bin/* .dll $stage /lib/debug/
7171 cp $stage /debug/lib/* .lib $stage /lib/debug/
@@ -81,9 +81,9 @@ case "$AUTOBUILD_PLATFORM" in
8181 cmake --install . --config Release
8282
8383 # conditionally run unit tests
84- # if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
85- # ctest -C Release
86- # fi
84+ if [ " ${DISABLE_UNIT_TESTS:- 0} " = " 0" ]; then
85+ ctest --test-dir . -C Release
86+ fi
8787
8888 cp $stage /release/bin/* .dll $stage /lib/release/
8989 cp $stage /release/lib/* .lib $stage /lib/release/
279279popd
280280
281281mkdir -p " $stage /LICENSES"
282- cp " $TOP /$SDL_SOURCE_DIR /LICENSE.txt" " $stage /LICENSES/SDL2.txt"
282+ cp " $TOP /$SDL_SOURCE_DIR /LICENSE.txt" " $stage /LICENSES/SDL2.txt"
You can’t perform that action at this time.
0 commit comments