Skip to content

Commit 12853e9

Browse files
committed
CI fixes
1 parent 4e82500 commit 12853e9

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,4 +443,4 @@ jobs:
443443

444444
- name: Test
445445
shell: bash
446-
run: ctest --test-dir out -C MinSizeRel --output-on-failure -VV -R '.*python'
446+
run: ctest --test-dir out -C MinSizeRel --output-on-failure -VV -R '.*python$'

test/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,7 @@ set(TEST_SRCIPT
166166
cmake_path(GET EXECUTABLE FILENAME exefilename)
167167
168168
macro(run)
169-
execute_process(COMMAND \${ARGV} RESULT_VARIABLE CMD_RESULT)
170-
if(CMD_RESULT)
171-
message(FATAL_ERROR \"Error running \${ARGV}\")
172-
endif()
169+
execute_process(COMMAND \${ARGV} COMMAND_ERROR_IS_FATAL ANY)
173170
endmacro()
174171
")
175172

0 commit comments

Comments
 (0)