cmake: call SelfTest exe instead of approvalTests script

Just call the SelfTest executable directly for testing, since there seems to be a problem with the approval tests python script right now.
This commit is contained in:
Kosta 2013-08-05 13:44:37 +02:00
parent c4863842c8
commit ba24e51306
1 changed files with 2 additions and 1 deletions

View File

@ -33,4 +33,5 @@ add_executable(SelfTest ${SOURCES})
# configure unit tests via ctest
enable_testing()
add_test(NAME SelfTest_run COMMAND python ${SCRIPTS_DIR}/approvalTests.py "${CMAKE_CURRENT_BINARY_DIR}/SelfTest")
add_test(NAME SelfTest_run COMMAND SelfTest)
#add_test(NAME SelfTest_run COMMAND python ${SCRIPTS_DIR}/approvalTests.py "${CMAKE_CURRENT_BINARY_DIR}/SelfTest")