Skip to content

Commit 4ada994

Browse files
committed
[CTS] Fix typo in add_test_adapter()
Fix regression introduced in #1574 where `GTEST_COLOR=no` was no longer being set due to use of wrong CMake variable in if statement.
1 parent fd3b120 commit 4ada994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/conformance/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function(add_test_adapter name adapter)
3333
endif()
3434

3535
set(TEST_ENV UR_ADAPTERS_FORCE_LOAD="$<TARGET_FILE:ur_${adapter}>")
36-
if(NOT UR_CONFORMANCE_TEST_DIR)
36+
if(UR_CONFORMANCE_ENABLE_MATCH_FILES)
3737
list(APPEND TEST_ENV GTEST_COLOR=no)
3838
endif()
3939
set_tests_properties(${TEST_NAME} PROPERTIES

0 commit comments

Comments
 (0)