Skip to content

Commit e881a53

Browse files
committed
[CTS] Fix UR_CONFORMANCE_ENABLE_MATCH_FILES=OFF
When configured without match files, the CTS was trying to run a command and its arguments as a single command, as it was represented by a single string variable. It needs to be a single string in the default case - when building with UR_CONFORMANCE_ENABLE_MATCH_FILES=ON - as that command string is passed off to another command via a flag, so it must be seen by the shell as one item. While definitely not *nice*, this is the simplest fix I could think of which preserves the behaviour of the (more important, tested) 'default' case.
1 parent 719bb9c commit e881a53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/conformance/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function(add_test_adapter name adapter)
2525
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
2626
)
2727
else()
28+
separate_arguments(TEST_COMMAND)
2829
add_test(NAME ${TEST_NAME}
2930
COMMAND ${TEST_COMMAND}
3031
DEPENDS ${TEST_TARGET_NAME}

0 commit comments

Comments
 (0)