[cmake] Called cram through python and not a shell script
This commit is contained in:
parent
8802a983b2
commit
71e3f1a4b3
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ set(ENV{CRITERION_NO_EARLY_EXIT} "1")
|
|||
set(ENV{CRITERION_JOBS} "1")
|
||||
set(ENV{CRITERION_DISABLE_TIME_MEASUREMENTS} "1")
|
||||
|
||||
execute_process (COMMAND cram -v "${CRAM_PATH}" TIMEOUT 60 RESULT_VARIABLE RES)
|
||||
execute_process (COMMAND python -m cram -v "${CRAM_PATH}" TIMEOUT 60 RESULT_VARIABLE RES)
|
||||
|
||||
if (NOT RES STREQUAL "0")
|
||||
message (FATAL_ERROR "Cram tests failed")
|
||||
|
|
Loading…
Add table
Reference in a new issue