From b3a923133d7b97210867981d189525cfef21166d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Fri, 1 Sep 2017 19:12:15 +0200 Subject: [PATCH] Actually fix AppVeyor ctest Note, this doesn't mean it will start passing, just that it will run the approval tests properly Some changes are needed before it passes, as the Windows output somewhat differs. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2196a893..2903ad9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -317,7 +317,7 @@ if (NOT NO_SELFTEST) add_test(NAME ListTags COMMAND SelfTest --list-tags) set_tests_properties(ListTags PROPERTIES PASS_REGULAR_EXPRESSION "[0-9]+ tags") - add_test(NAME ApprovalTests COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/scripts/approvalTests.py $) + add_test(NAME ApprovalTests COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/scripts/approvalTests.py $) set_tests_properties(ApprovalTests PROPERTIES FAIL_REGULAR_EXPRESSION "Results differed") endif() # !NO_SELFTEST