Mercurial > fife-parpg
view tests/core_tests/SConscript @ 338:d266506ff4f9
Bug fix.
It turned out the instance tree contained ghost instances, since
InstanceTree.removeInstance sometimes failed.
This caused those random crashes in UH.
Now the InstanceTree enforces that remove/add Instance
work in pairs. A new Exception is raised in case this
ever goes wrong again. (InconsitencyDetected)
Furthermore the removeInstancheChangeListener stuff
had a fix to become reentrant. It is not clear
wether this was shadowed by the aforementioned bug
or was never triggered.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 24 Aug 2009 18:32:03 +0000 |
parents | 5a2db5e7ab54 |
children | 64738befdf3b |
line wrap: on
line source
import glob, sys Import('env') env = env.Copy() env.Append(CPPPATH = ['#/engine/core']) env.Append(LIBPATH = ['#/engine/core']) env.Append(LIBS = ['libfife','libUnitTest++']) if sys.platform == 'darwin': env.Append(LIBPATH = ['/System/Library']) env.Append(LINKFLAGS='-framework SDL') env.Append(LINKFLAGS='-framework SDL_image') env.Append(LINKFLAGS='-framework SDL_ttf') env.Append(LINKFLAGS=['-Wl']) else: env.Append(LINKFLAGS=['-Wl,-rpath,../../ext/install/lib,-rpath,../../engine']) # 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']) if env['zip']: env.Program('testprog_zip', ['test_zip.cpp']) # vim: set filetype=python :