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.
This commit is contained in:
@@ -34,3 +34,5 @@ endif()
|
||||
if(WINDOWS)
|
||||
add_subdirectory(icons)
|
||||
endif()
|
||||
|
||||
add_subdirectory(test)
|
||||
|
||||
Reference in New Issue
Block a user