From d7c12db5202d7c6aeeddb3cf012900e3b0a5f9ba Mon Sep 17 00:00:00 2001 From: zoe Date: Mon, 11 Nov 2019 16:59:06 -0600 Subject: [PATCH] fix cmake bug --- tests/automated/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/automated/CMakeLists.txt b/tests/automated/CMakeLists.txt index d7db612..de41856 100644 --- a/tests/automated/CMakeLists.txt +++ b/tests/automated/CMakeLists.txt @@ -17,11 +17,11 @@ # along with this program. If not, see . function(cfunge_test test_name) - file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${test_name}) + file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${test_name}_dir) add_test( NAME ${test_name} - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${test_name} - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../test_runner.py $ ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}) + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${test_name}_dir + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../test_runner.py $ ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}_dir) endfunction() cfunge_test(bool-test.b98)