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:
11
tests/CMakeLists.txt
Normal file
11
tests/CMakeLists.txt
Normal 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)
|
Reference in New Issue
Block a user