2007-08-13 09:55:32 +02:00
|
|
|
# -*- python -*-
|
|
|
|
|
##
|
|
|
|
|
## SConscript - SCons buildscript for the Testsuite (called by SConstruct)
|
|
|
|
|
##
|
|
|
|
|
|
2007-08-17 00:36:07 +02:00
|
|
|
Import('env','artifacts','cinobj','testobj')
|
2007-08-13 09:55:32 +02:00
|
|
|
|
|
|
|
|
# build an application running the testsuite
|
2007-08-17 00:36:07 +02:00
|
|
|
artifacts['testsuite'] = env.Program('mainsuite', cinobj + testobj + ['#$SRCDIR/test/mainsuite.cpp'])
|
2007-08-13 09:55:32 +02:00
|
|
|
|
|
|
|
|
# TODO: we could apply much more "magic" here
|
|
|
|
|
# - build /every/ $TESTDIR/*.cpp into an application
|
|
|
|
|
# - link the testobj dynamically
|
|
|
|
|
# - install additionally scripts into tests-dir if desired
|
|
|
|
|
|
|
|
|
|
|