Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

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.
Commit
ba24e513062a9820fe7332c8bf83236351959af3
Author
Kosta ·
Parents
c4863842c86d

Files · Download .tar.gz

Changes

 projects/CMake/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt
index 39e3e4f1..cff62616 100644
--- a/projects/CMake/CMakeLists.txt
+++ b/projects/CMake/CMakeLists.txt
@@ -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")