diff tests/core_tests/SConscript @ 42:4c8334b0ab30

switched scons tests=1 to build unittest++ tests instead of boost ones. Tests kept in separate executables to make it work in the same way as with old tests (integrated part of test_fife unit testing script). Audio tests shortened.
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 13 Jul 2008 07:43:33 +0000
parents 4a0efb7baf70
children 5a2db5e7ab54
line wrap: on
line diff
--- a/tests/core_tests/SConscript	Sat Jul 12 14:45:59 2008 +0000
+++ b/tests/core_tests/SConscript	Sun Jul 13 07:43:33 2008 +0000
@@ -6,7 +6,7 @@
 env.Append(CPPPATH = ['#/engine/core'])
 env.Append(LIBPATH = ['#/engine/core'])
 
-env.Append(LIBS = ['libfife','boost_unit_test_framework'])
+env.Append(LIBS = ['libfife','libUnitTest++'])
 
 if sys.platform == 'darwin':
 	env.Append(LIBPATH = ['/System/Library'])
@@ -17,18 +17,18 @@
 else:
         env.Append(LINKFLAGS=['-Wl,-rpath,../../ext/install/lib,-rpath,../../engine'])
 
-# The test_all.py script relies on this specific layout.
+# The test_fife.py script relies on this specific layout.
 # Check it, if you change something here
-env.Program('testprog_rect', ['test_rect.cpp'])
-env.Program('testprog_dat1', ['test_dat1.cpp'])
-env.Program('testprog_dat2', ['test_dat2.cpp'])
-env.Program('testprog_gui', ['test_gui.cpp'])
-env.Program('testprog_images', ['test_images.cpp'])
-env.Program('testprog_imagepool', ['test_imagepool.cpp'])
-env.Program('testprog_vfs', ['test_vfs.cpp'])
+env.Program('testprog_rect', ['test_rect++.cpp'])
+env.Program('testprog_dat1', ['test_dat1++.cpp'])
+env.Program('testprog_dat2', ['test_dat2++.cpp'])
+env.Program('testprog_gui', ['test_gui++.cpp'])
+env.Program('testprog_images', ['test_images++.cpp'])
+env.Program('testprog_imagepool', ['test_imagepool++.cpp'])
+env.Program('testprog_vfs', ['test_vfs++.cpp'])
 
 
 if env['zip']:
-	env.Program('testprog_zip', ['test_zip.cpp'])
+	env.Program('testprog_zip', ['test_zip++.cpp'])
 
 # vim: set filetype=python :