summaryrefslogtreecommitdiff
path: root/cmake/run_test.cmake
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2022-06-03 09:14:38 -0400
committerGitHub <noreply@github.com>2022-06-03 09:14:38 -0400
commita2be6d9ca1a1db38ce362a900675f527fc5d12b3 (patch)
tree9861c7b2e995a1650b9a52d0bf896e888ebd7bd3 /cmake/run_test.cmake
parent7f704bd9dd9e76f055456fec39b5d037bfdce697 (diff)
parent6908abbf9238295910aef8d5259a8cc38c87329b (diff)
downloadlibical-git-mcclurgm-readme-mainpage.tar.gz
Merge branch 'master' into mcclurgm-readme-mainpagemcclurgm-readme-mainpage
Diffstat (limited to 'cmake/run_test.cmake')
-rw-r--r--cmake/run_test.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/run_test.cmake b/cmake/run_test.cmake
index db6c5c4d..157ae44d 100644
--- a/cmake/run_test.cmake
+++ b/cmake/run_test.cmake
@@ -16,7 +16,7 @@ if(NOT output_test)
endif()
# convert the space-separated string to a list
-separate_arguments(test_args)
+separate_arguments(test_args UNIX_COMMAND ${test_args})
execute_process(
COMMAND ${test_cmd} ${test_args}
@@ -40,5 +40,7 @@ execute_process(
)
if(test_not_successful)
- message(SEND_ERROR "Output does not match for ${output_blessed} and ${output_test}: ${err} : shell output: ${test_not_successful}!")
+ message(SEND_ERROR
+ "Output does not match for ${output_blessed} and ${output_test}: ${err} : shell output: ${test_not_successful}!"
+ )
endif()