Commit Graph

21 Commits

Author SHA1 Message Date
Campbell Barton 50a06eccff pep8 cleanup 2011-03-27 05:23:14 +00:00
Campbell Barton f141c81b5b - fix for editfont using an enum func on boolean property.
- updated FBX export test hash.
2011-03-26 09:36:45 +00:00
Campbell Barton 287a185e90 found text editor X/Y selections coords were booleans and corrections to operator calling script from last commit. 2011-03-22 14:37:45 +00:00
Campbell Barton f40d33f24b Added CTest to run most operators in background mode under various conditions to see if any crash.
used this to find quite a many errors already.
2011-03-22 14:09:07 +00:00
Campbell Barton 5442e725a5 print how many times the operator failed. 2011-03-20 09:38:25 +00:00
Campbell Barton 35cee79a37 fix so the batch importer can run with addons passed as arguments. 2011-03-20 06:02:47 +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
Campbell Barton 4f5e20aeb4 remove cmake WITH_INSTALL option since its a target now. 2011-03-16 21:32:20 +00:00
Campbell Barton 1787fdbeed update x3d test md5s for recent changes, also ensure directory is created or export tests fail. 2011-03-16 12:06:12 +00:00
Brecht Van Lommel 5f7126c96f Fix "make test" on Mac, couldn't find executable. 2011-03-13 13:09:18 +00:00
Campbell Barton 42e9796c04 builder reports MSVC was setting stack size to 2gig. 2011-03-12 04:31:28 +00:00
Campbell Barton fc0c016940 replace import *'s with named imports (using * is convenient for some scripts but considered bad practice by python devs) 2011-02-27 15:25:24 +00:00
Campbell Barton fee5363912 bugfix [#26094] Going to Bone Roll menu brings up python error
also correct for pep8 warnings.
2011-02-16 02:25:03 +00:00
Campbell Barton 30ada8fdd3 fix [#26003] Twice applied modifier with Convert to mesh with several multi-user objects
convert_exec could do with a re-write, getting quite confusing.

update md5's for ctest results and some renaming in mesh_validate code.
2011-02-10 04:48:49 +00:00
Campbell Barton 736a7b7a22 pep8 cleanup 2011-02-04 09:27:25 +00:00
Campbell Barton 1e3ec65edc remove unused variable
also clear scene data before running batch import (utility script).
2011-02-03 11:02:02 +00:00
Campbell Barton 0d3cf5c8a6 Script to test import operators, so a single command can execute an operator on all files in a directory and optionally save out blend files for inspection.
This comes in handy for testing importers against 100's of files, quickly showing breakages and easier to setup then unit tests.

Example usage:

  blender.bin --background --python source/tests/batch_import.py -- \
              --operator="bpy.ops.import_scene.obj" \
              --path="/data/testfiles/obj" \
              --match="*.obj" \
              --start=0 --end=50 \
              --save_path="/tmp/test"


Also found my name was spelt wrong in some places :)
2011-02-01 12:47:50 +00:00
Campbell Barton 27cb6218a3 fix [#25778] Memoryblock Data from SCR: end corrupt
+ other minor changes.
2011-01-25 01:51:28 +00:00
Campbell Barton 7aebf814d2 update testing md5's for changes in exporters. 2011-01-23 13:34:36 +00:00
Campbell Barton d2076e38f1 correct own bad spelling 2011-01-23 12:42:07 +00:00
Campbell Barton d75216ba1c - fix problem with cmake, windows 'RelWithDebInfo' target, was giving error: "ImportError: No module named _socket" because of copying wrong files over.
- move test -> tests, this name is used elsewhere in lib/tests.
- change interface code not to loop on a float value (clang warning), harmless, but with extreme cases an eternal loop would still be possible though unlikely.
2011-01-23 11:42:29 +00:00