File tree 2 files changed +10
-26
lines changed
2 files changed +10
-26
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,11 @@ jobs:
110
110
# This is to check that install command does not fail
111
111
run : cmake --install ${{github.workspace}}/build
112
112
113
- - name : Test adapter specific
114
- working-directory : ${{github.workspace}}/build
115
- run : ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180
116
- # Don't run adapter specific tests when building multiple adapters
117
- if : ${{ matrix.adapter.other_name == '' }}
113
+ # - name: Test adapter specific
114
+ # working-directory: ${{github.workspace}}/build
115
+ # run: ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180
116
+ # # Don't run adapter specific tests when building multiple adapters
117
+ # if: ${{ matrix.adapter.other_name == '' }}
118
118
119
119
- name : Test adapters
120
120
working-directory : ${{github.workspace}}/build
Original file line number Diff line number Diff line change @@ -19,28 +19,12 @@ function(add_test_adapter name adapter backend)
19
19
set (MATCH_FILE "${CMAKE_CURRENT_SOURCE_DIR} /${name} _${adapter} .match" )
20
20
21
21
function (do_add_test tname env)
22
- if (${UR_CONFORMANCE_ENABLE_MATCH_FILES} AND EXISTS ${MATCH_FILE} )
23
- add_test (NAME ${tname}
24
- COMMAND ${Python3_EXECUTABLE} ${UR_CONFORMANCE_TEST_DIR} /cts_exe.py
25
- --failslist ${MATCH_FILE}
26
- --test_command ${PROJECT_BINARY_DIR} /bin/${TEST_TARGET_NAME}
27
- --
28
- --backend=${backend}
29
- --devices_count=${UR_TEST_DEVICES_COUNT}
30
- --platforms_count=${UR_TEST_PLATFORMS_COUNT}
31
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
32
- )
33
- else ()
34
- separate_arguments (TEST_COMMAND)
35
- add_test (NAME ${tname}
36
- COMMAND ${TEST_COMMAND}
37
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
38
- )
39
- endif ()
22
+ separate_arguments (TEST_COMMAND)
23
+ add_test (NAME ${tname}
24
+ COMMAND ${TEST_COMMAND}
25
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
26
+ )
40
27
41
- if (UR_CONFORMANCE_ENABLE_MATCH_FILES)
42
- list (APPEND env GTEST_COLOR=yes )
43
- endif ()
44
28
set_tests_properties (${tname} PROPERTIES
45
29
ENVIRONMENT "${env} "
46
30
LABELS "conformance;${adapter} " )
You can’t perform that action at this time.
0 commit comments