Blender Git Loki

Git Commits -> Revision 8a3beb0

Revision 8a3beb0 by Campbell Barton (master)
January 21, 2011, 00:06 (GMT)
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.

Commit Details:

Full Hash: 8a3beb0012ddc90cefad162539930d96c3d59458
SVN Revision: 34429
Parent Commit: df6bb34
Lines Changed: +401, -0

2 Added Paths:

/source/test/bl_test.py (+195, -0) (View)
/source/test/CMakeLists.txt (+202, -0) (View)

2 Modified Paths:

/CMakeLists.txt (+2, -0) (Diff)
/source/CMakeLists.txt (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021