From 5592c663a48b8b57e520f6d6d7c6ed2d8dfb063e Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 4 Aug 2024 17:06:00 -0500 Subject: [PATCH] updated build system --- scripts/run_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 8276c62b..03d55c80 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -8,7 +8,11 @@ pushd "${PROJECT_DIST_DIR}" if [ -e "./${PROJECT_NAME}_test${PROJECT_APP_BINARY_EXT}" ]; then for APP in ${PROJECT_APP_LIST[@]}; do if [[ "$APP" == *_test ]]; then - "./${PROJECT_NAME}_test${PROJECT_APP_BINARY_EXT}" || exit 1 + if [ "${PROJECT_IS_MINGW_UNIX}" == "1" ]; then + wine64 "${PROJECT_DIST_DIR}/${PROJECT_NAME}_test${PROJECT_APP_BINARY_EXT}" || exit 1 + else + "./${PROJECT_NAME}_test${PROJECT_APP_BINARY_EXT}" || exit 1 + fi fi done fi