diff options
Diffstat (limited to 'cmake/run_test.cmake')
-rw-r--r-- | cmake/run_test.cmake | 6 |
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() |