Blender Git Commit Log

Git Commits -> Revision 3b8d4aa

Revision 3b8d4aa by Campbell Barton (master)
March 18, 2011, 23:58 (GMT)
2 tests for ctest.

- script_load_addons: loads and onloads all addons, error if any cant be enabled or disabled.
- script_load_modules: loads all blenders modules, error if any modules raise an exception or if any modules in the scripts dir are not tested (except for presets and templates).

These are useful because lazy module loading means a module can have an error which isnt raised until the tools used. This gives a way to detect basic errors that used to happen on startup or when enabling the addon.

Commit Details:

Full Hash: 3b8d4aa25f23f1c4c1d9a42e6c876333c4f2c6d2
SVN Revision: 35620
Parent Commit: 5f8e8f2
Lines Changed: +237, -0

2 Added Paths:

/source/tests/bl_load_addons.py (+78, -0) (View)
/source/tests/bl_load_py_modules.py (+145, -0) (View)

1 Modified Path:

/source/tests/CMakeLists.txt (+14, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021