Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-21 03:06:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-21 03:06:30 +0300
commit8a3beb0012ddc90cefad162539930d96c3d59458 (patch)
tree1d295f8069e7bd660c8e41bd7609a532da9ab99d /source/CMakeLists.txt
parentdf6bb34c2b881b5761ebe1470e4633505db92ee6 (diff)
import/export automated testing using CMake's CTest
Will need to write full docs on this on the wiki. basic info. - 21 tests, OBJ/3DS/X3D/FBX, 3 tests per format import export. STL, PLY, BVH are TODO. - uses files in ../lib/tests (checkout separate) - run with CMake Makefiles "make test" or "ctest" - currently checks against basic MD5 hash on scene import and file MD5 hash on export (realize this wont work predictably on binary formats *TODO*). - currently uses a generic script for all tests with arguments to specify command to run, expected output, testing method, files to check against etc. Has already proved useful, found a number of bugs in import export and some in blender too.
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index c13abb862b7..46e1405df84 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -34,3 +34,5 @@ endif()
if(WINDOWS)
add_subdirectory(icons)
endif()
+
+add_subdirectory(test)