aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 12:37:28 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 14:46:31 -0400
commit5dd87260434756f3c974a6c75d373645d84f7b30 (patch)
treedce2cc80a071be35a66681134b4d263ec9d68a55 /CMakeLists.txt
parent0fff9db32efe3bfaeb561843e604024d08cea1b0 (diff)
downloadsplitfits-5dd87260434756f3c974a6c75d373645d84f7b30.tar.gz
Break up configuration from test script
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f3a91d..db56622 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,8 +5,9 @@ set(CMAKE_C_STANDARD 99)
add_executable(splitfits splitfits.c)
+file(GLOB TEST_RUNNER "test*.sh")
+file(COPY ${TEST_RUNNER} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(GLOB TEST_FRAMEWORK "tests")
-file(COPY "test.sh" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY ${TEST_FRAMEWORK} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
add_custom_target(check "${CMAKE_CURRENT_BINARY_DIR}/test.sh")