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 /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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a17eaf3e93..bad6b878d54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,6 +50,8 @@ cmake_minimum_required(VERSION 2.6)
project(Blender)
+enable_testing()
+
#-----------------------------------------------------------------------------
# Redirect output files