Commit Graph

3 Commits

Author SHA1 Message Date
Campbell Barton
8f5112f191 pep8 update & some minor cmake edits. 2011-09-20 18:29:19 +00:00
Campbell Barton
13465fd817 update for tests, error out when duplicate modules are found, all ctest tests pass again. 2011-06-09 16:20:00 +00:00
Campbell Barton
3b8d4aa25f 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.
2011-03-18 23:58:13 +00:00