fix travis build

This commit is contained in:
Thomas Fussell 2015-10-26 17:47:40 -04:00
parent 959ba08e4a
commit 2f40ab5063

View File

@ -8,16 +8,16 @@ add_executable(xlnt.test ../../../tests/runner-autogen.cpp)
target_link_libraries(xlnt.test xlnt) target_link_libraries(xlnt.test xlnt)
add_custom_target (generate add_custom_target (test-runner
COMMAND ../../../generate-tests.sh COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../../generate-tests.sh
COMMENT "Generating test runner tests/runner-autogen.cpp" COMMENT "Generating test runner tests/runner-autogen.cpp"
) )
add_dependencies(xlnt.test generate) add_dependencies(xlnt.test test-runner)
add_custom_command( add_custom_command(
TARGET xlnt.test TARGET xlnt.test
POST_BUILD POST_BUILD
COMMAND ../../../../bin/xlnt.test COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/xlnt.test
VERBATIM VERBATIM
) )