summaryrefslogtreecommitdiffstats
path: root/test/ctest/scripts/run_promela_test.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'test/ctest/scripts/run_promela_test.cmake')
-rw-r--r--test/ctest/scripts/run_promela_test.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ctest/scripts/run_promela_test.cmake b/test/ctest/scripts/run_promela_test.cmake
index 818cf66..271434f 100644
--- a/test/ctest/scripts/run_promela_test.cmake
+++ b/test/ctest/scripts/run_promela_test.cmake
@@ -20,10 +20,10 @@ if(CMD_RESULT)
endif()
message(STATUS "time for transforming to c")
-message(STATUS "${CXX_BIN} -DMEMLIM=1024 -DVECTORSZ=8192 -O2 -DXUSAFE -w -o ${OUTDIR}/pan ${OUTDIR}/pan.c")
-execute_process(COMMAND time -p ${CXX_BIN} -DMEMLIM=1024 -DVECTORSZ=8192 -O2 -DXUSAFE -w -o ${OUTDIR}/pan ${OUTDIR}/pan.c WORKING_DIRECTORY ${OUTDIR} RESULT_VARIABLE CMD_RESULT)
+message(STATUS "${CC_BIN} -DMEMLIM=1024 -DVECTORSZ=8192 -O2 -DXUSAFE -w -o ${OUTDIR}/pan ${OUTDIR}/pan.c")
+execute_process(COMMAND time -p ${CC_BIN} -DMEMLIM=1024 -DVECTORSZ=8192 -O2 -DXUSAFE -w -o ${OUTDIR}/pan ${OUTDIR}/pan.c WORKING_DIRECTORY ${OUTDIR} RESULT_VARIABLE CMD_RESULT)
if(CMD_RESULT)
- message(FATAL_ERROR "Error running gcc ${CXX_BIN}: ${CMD_RESULT}")
+ message(FATAL_ERROR "Error running gcc ${CC_BIN}: ${CMD_RESULT}")
endif()
message(STATUS "time for transforming to binary")