From 49e47a57a2d08e8551985f62f1d7ec87cc7cdb35 Mon Sep 17 00:00:00 2001 From: Xpol Wan Date: Wed, 29 Jun 2016 17:30:26 +0800 Subject: [PATCH] Remove and ignore generated test runner. --- .gitignore | 1 + cmake/xlnt.test.cmake | 1 + tests/runner-autogen.cpp | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 tests/runner-autogen.cpp diff --git a/.gitignore b/.gitignore index c57a8996..b892947c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ docs/doxyxml/ #*# *~ .DS_Store +tests/runner-autogen.cpp diff --git a/cmake/xlnt.test.cmake b/cmake/xlnt.test.cmake index 3b97f9de..7d92fef8 100644 --- a/cmake/xlnt.test.cmake +++ b/cmake/xlnt.test.cmake @@ -25,6 +25,7 @@ FILE(GLOB TEST_HELPERS_SOURCES tests/helpers/*.cpp) 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) add_executable(xlnt.test ${TEST_HELPERS} ${TESTS} ${RUNNER} ) diff --git a/tests/runner-autogen.cpp b/tests/runner-autogen.cpp deleted file mode 100644 index 68b4678e..00000000 --- a/tests/runner-autogen.cpp +++ /dev/null @@ -1 +0,0 @@ -#error This file should be generated from tests before compiling