File tree Expand file tree Collapse file tree 5 files changed +6
-0
lines changed Expand file tree Collapse file tree 5 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ function(PYTHON_TEST)
57
57
endif ()
58
58
set_tests_properties (${TEST_NAME} PROPERTIES PROCESSORS ${TEST_NUM_PROC}
59
59
DEPENDS "${TEST_DEPENDS} " )
60
+ set_tests_properties (${TEST_NAME} PROPERTIES SKIP_RETURN_CODE 5 )
60
61
61
62
if ("gpu" IN_LIST TEST_LABELS AND WITH_CUDA )
62
63
set_tests_properties (${TEST_NAME} PROPERTIES RESOURCE_LOCK GPU )
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ macro(PYTHON_SCRIPTS_TEST)
39
39
string (REGEX REPLACE "^test_" "${TEST_TYPE} _" TEST_NAME ${TEST_NAME} )
40
40
add_test (${TEST_NAME} ${CMAKE_BINARY_DIR} /pypresso ${PYPRESSO_OPTIONS}
41
41
${TEST_FILE_CONFIGURED} )
42
+ set_tests_properties (${TEST_NAME} PROPERTIES SKIP_RETURN_CODE 5 )
42
43
set_tests_properties (${TEST_NAME} PROPERTIES FIXTURES_REQUIRED
43
44
IMPORTLIB_WRAPPER )
44
45
set_tests_properties (${TEST_NAME} PROPERTIES LABELS "${TEST_LABELS} " )
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ endfunction(BENCHMARK_TEST)
25
25
# configure Python module importlib_wrapper.py
26
26
add_test (importlib_wrapper ${CMAKE_BINARY_DIR} /pypresso ${PYPRESSO_OPTIONS}
27
27
${TEST_FILE_CONFIGURED_IMPORTLIB_WRAPPER} )
28
+ set_tests_properties (importlib_wrapper PROPERTIES SKIP_RETURN_CODE 5 )
28
29
set_tests_properties (importlib_wrapper PROPERTIES FIXTURES_SETUP
29
30
IMPORTLIB_WRAPPER )
30
31
set (benchmarks_tests ${benchmarks_tests}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ endfunction(SAMPLE_TEST)
25
25
# configure Python module importlib_wrapper.py
26
26
add_test (importlib_wrapper ${CMAKE_BINARY_DIR} /pypresso ${PYPRESSO_OPTIONS}
27
27
${TEST_FILE_CONFIGURED_IMPORTLIB_WRAPPER} )
28
+ set_tests_properties (importlib_wrapper PROPERTIES SKIP_RETURN_CODE 5 )
28
29
set_tests_properties (importlib_wrapper PROPERTIES FIXTURES_SETUP
29
30
IMPORTLIB_WRAPPER )
30
31
set (samples_tests ${samples_tests} ${TEST_FILE_CONFIGURED_IMPORTLIB_WRAPPER}
Original file line number Diff line number Diff line change @@ -28,8 +28,10 @@ add_test(importlib_wrapper ${CMAKE_BINARY_DIR}/pypresso ${PYPRESSO_OPTIONS}
28
28
${TEST_FILE_CONFIGURED_IMPORTLIB_WRAPPER} )
29
29
add_test (convert ${CMAKE_BINARY_DIR} /pypresso ${PYPRESSO_OPTIONS}
30
30
${CMAKE_CURRENT_BINARY_DIR} /test_convert.py )
31
+ set_tests_properties (importlib_wrapper PROPERTIES SKIP_RETURN_CODE 5 )
31
32
set_tests_properties (importlib_wrapper PROPERTIES FIXTURES_SETUP
32
33
IMPORTLIB_WRAPPER )
34
+ set_tests_properties (convert PROPERTIES SKIP_RETURN_CODE 5 )
33
35
set_tests_properties (convert PROPERTIES FIXTURES_SETUP IMPORTLIB_WRAPPER )
34
36
set (tutorials_tests ${tutorials_tests} ${TEST_FILE_CONFIGURED_IMPORTLIB_WRAPPER}
35
37
PARENT_SCOPE )
You can’t perform that action at this time.
0 commit comments