Commit a80b27d6 authored by Bednárek David RNDr. Ph.D.'s avatar Bednárek David RNDr. Ph.D.
Browse files

merged

parent c85808ec
......@@ -7,7 +7,7 @@ function(MAKE_TEST ANUM NAME)
set(TEST_OUTPUT "${NAME}.out")
set(TEST_GOLD "${NAME}.${TEST_EXE}.gold")
add_test(NAME "${TEST_NAME_RUN}" COMMAND "${TEST_EXE}" "${TEST_INPUT}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
add_test(NAME "${TEST_NAME_RUN}" COMMAND "${TEST_EXE}" "-z" "${TEST_OUTPUT}" "${TEST_INPUT}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
set_tests_properties("${TEST_NAME_RUN}" PROPERTIES PASS_REGULAR_EXPRESSION ".*${TEST_MESSAGE} done.*")
set_tests_properties("${TEST_NAME_RUN}" PROPERTIES FIXTURES_SETUP "${TEST_OUTPUT}")
set_tests_properties("${TEST_NAME_RUN}" PROPERTIES TIMEOUT "5")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment