File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -457,23 +457,29 @@ endif()
457
457
458
458
# Add one test for each test suite case
459
459
foreach (case ${PythonQtTest${suite} _cases})
460
+ set (_testname tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_${suffix} _${suite} _${case} )
460
461
add_test (
461
- NAME tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_ ${suffix} _ ${suite} _ ${case }
462
+ NAME ${_testname }
462
463
COMMAND ${CMAKE_COMMAND}
463
464
-DTARGET_FILE=$<TARGET_FILE:PythonQtDynamicLoader_${suffix}${suite_suffix} >
464
465
-DSUITE=${suite} -DCASE=${case} -P ${test_wrapper}
465
466
)
467
+ set_tests_properties (${_testname}
468
+ PROPERTIES FAIL_REGULAR_EXPRESSION "Problem running _run_pythonqt_tests" )
466
469
endforeach ()
467
470
endforeach ()
468
471
469
472
# suite: ALL
470
473
set (suite_suffix "" )
471
474
_add_targets("" )
472
475
476
+ set (_testname tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_${suffix} )
473
477
add_test (
474
- NAME tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_ ${suffix }
478
+ NAME ${_testname }
475
479
COMMAND ${CMAKE_COMMAND} -DTARGET_FILE=$<TARGET_FILE:PythonQtDynamicLoader_${suffix} > -P ${test_wrapper}
476
480
)
481
+ set_tests_properties (${_testname}
482
+ PROPERTIES FAIL_REGULAR_EXPRESSION "Problem running _run_pythonqt_tests" )
477
483
478
484
endfunction ()
479
485
Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ extern "C"
75
75
76
76
for (int argpos = 0 ; argpos < argc; ++argpos) { delete[] argv[argpos]; }
77
77
78
+ if (failCount > 0 )
79
+ {
80
+ std::cerr << " Problem running _run_pythonqt_tests" << std::endl;
81
+ }
82
+
78
83
return failCount;
79
84
}
80
85
You can’t perform that action at this time.
0 commit comments