Fix ctest failure on windows

This commit is contained in:
Martin Hořeňovský 2017-09-01 17:54:01 +02:00
parent 792d3d0a26
commit 35bad89684
1 changed files with 1 additions and 1 deletions

View File

@ -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 ../scripts/approvalTests.py ./SelfTest)
add_test(NAME ApprovalTests COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/scripts/approvalTests.py $<TARGET_FILE:SelfTest>)
set_tests_properties(ApprovalTests PROPERTIES FAIL_REGULAR_EXPRESSION "Results differed")
endif() # !NO_SELFTEST