Remove and ignore generated test runner.

This commit is contained in:
Xpol Wan 2016-06-29 17:30:26 +08:00
parent bdc770d23a
commit 49e47a57a2
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ docs/doxyxml/
#*# #*#
*~ *~
.DS_Store .DS_Store
tests/runner-autogen.cpp

View File

@ -25,6 +25,7 @@ FILE(GLOB TEST_HELPERS_SOURCES tests/helpers/*.cpp)
SET(TEST_HELPERS ${TEST_HELPERS_HEADERS} ${TEST_HELPERS_SOURCES}) SET(TEST_HELPERS ${TEST_HELPERS_HEADERS} ${TEST_HELPERS_SOURCES})
file(WRITE tests/runner-autogen.cpp "#error This file should be generated from tests before compiling")
SET(RUNNER tests/runner-autogen.cpp) SET(RUNNER tests/runner-autogen.cpp)
add_executable(xlnt.test ${TEST_HELPERS} ${TESTS} ${RUNNER} ) add_executable(xlnt.test ${TEST_HELPERS} ${TESTS} ${RUNNER} )

View File

@ -1 +0,0 @@
#error This file should be generated from tests before compiling