Skip to content

Commit b8a9b80

Browse files
committed
Change variables UR_TEST_DEVICES_COUNT and UR_TEST_PLATFORMS_COUNT
in CTS CMake from "option" to "set" with cache. "option" is only for boolean options.
1 parent 8c604b0 commit b8a9b80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/conformance/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55

66
set(UR_CONFORMANCE_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR})
7-
option(UR_TEST_DEVICES_COUNT "Count of devices on which CTS will be run" 1)
8-
option(UR_TEST_PLATFORMS_COUNT "Count of platforms on which CTS will be run" 1)
7+
set(UR_TEST_DEVICES_COUNT 1 CACHE STRING "Count of devices on which CTS will be run")
8+
set(UR_TEST_PLATFORMS_COUNT 1 CACHE STRING "Count of platforms on which CTS will be run")
99

1010
function(add_test_adapter name adapter)
1111
set(TEST_TARGET_NAME test-${name})

0 commit comments

Comments
 (0)