Add an extremely simple test which checks the size of the volume doesn't

change. This will hopefully also be tracked by the dashboard.
This commit is contained in:
Matt Williams
2010-02-24 16:32:36 +00:00
parent 9c697cae35
commit b3e6e54c1b
3 changed files with 67 additions and 1 deletions

11
tests/CMakeLists.txt Normal file
View File

@ -0,0 +1,11 @@
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
#FIND_PACKAGE(Qt4)
#SET(QT_USE_QTTEST TRUE)
INCLUDE_DIRECTORIES("../library/PolyVoxCore/include")
ADD_EXECUTABLE(checksize checksize.cpp)
TARGET_LINK_LIBRARIES(checksize PolyVoxCore)
ADD_TEST(VolumeSizeTest ${EXECUTABLE_OUTPUT_PATH}/checksize)