Revert a change made in d3c2cf236 that is proving confounding in MSYS2-based bash environments.

This commit is contained in:
Ward Fisher 2023-10-09 10:51:13 -06:00
parent 8b5f1e239c
commit 17a7577701

View File

@ -2250,7 +2250,7 @@ ENDIF(ENABLE_BASH_SCRIPT_TESTING)
MACRO(add_sh_test prefix F) MACRO(add_sh_test prefix F)
IF(HAVE_BASH) IF(HAVE_BASH)
ADD_TEST(${prefix}_${F} bash "-c" "export srcdir=${CMAKE_CURRENT_SOURCE_DIR};export TOPSRCDIR=${CMAKE_SOURCE_DIR};bash ${CMAKE_CURRENT_BINARY_DIR}/${F}.sh ${ARGN}") ADD_TEST(${prefix}_${F} bash "-c" "export srcdir=${CMAKE_CURRENT_SOURCE_DIR};export TOPSRCDIR=${CMAKE_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}/${F}.sh ${ARGN}")
ENDIF() ENDIF()
ENDMACRO() ENDMACRO()