blender/release
Arystanbek Dyussenov ad0b2c87d5 Integrated unit testing framework with scons on Linux.
I needed this to make sure that BKE_copy_images works properly,
probably will be useful in future.

Using Check framework (http://check.sourceforge.net/doc/check.html/index.html).

WITH_BF_UNIT_TEST option builds 'alltest' program under [BUILDDIR]/bin, 
which, when executed, runs unit tests, currently only 1.

Example output:
----------------------------------------------------------------------
Running suite(s): Image
0%: Checks: 1, Failures: 1, Errors: 0
tests/alltest.c:74:F:Core:test_copy_images:0: Expected //bar/image.png to be translated to /tmp/bar/image.png, got /tmp/bar/image.pn.
----------------------------------------------------------------------

Spent lots of time (a couple of days actually :) to figure out how to
link the test program with Blender libraries. As it turned out there
are circular dependencies among Blender libraries. GCC by default
doesn't expect circular dependencies - dependant libs should precede
libs they depend on.

The magical --start-group linker option helped to solve this
(http://stephane.carrez.free.fr/doc/ld_2.html#IDX122).

Also:

- added bpy.util module. bpy.sys.* functions will move here later
- added bpy.util.copy_images that uses BKE_copy_images
- export_obj.py uses bpy.util.copy_images
2009-07-07 08:38:18 +00:00
..
beos-4.5-i386 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
beos-5.0-i386 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
datafiles RNA: 2009-06-19 14:56:49 +00:00
freedesktop * blender doesn't need the -w anymore to start in a window 2009-02-28 09:25:42 +00:00
io Integrated unit testing framework with scons on Linux. 2009-07-07 08:38:18 +00:00
irix-6.2-mips 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
plugins Patch 17403, small gcc warning fixes. 2008-09-20 12:28:01 +00:00
scripts OBJ exporter working (Python 3.0), but needs testing and fixing. 2009-06-28 13:29:03 +00:00
text Updated python license, this is compatible with current 2.5 and older. 2008-10-11 15:55:22 +00:00
ui Merge from 2.5 r21160 through r21285 2009-07-01 13:37:52 +00:00
windows === SCons === 2009-06-12 15:37:23 +00:00
getversion.py Slight improvements in release creation. 2009-04-11 19:04:59 +00:00
Makefile 2.50: 2009-06-08 20:08:19 +00:00
VERSION Last pre-2.49 commit part 2: the original file (png btw), and txt and 2009-05-29 17:52:45 +00:00