Yeah! all defined tests pass! (SCons build)

This commit is contained in:
Fischlurch 2008-12-18 09:59:31 +01:00
parent 262c51075b
commit 0314885834
3 changed files with 9 additions and 3 deletions

View file

@ -27,7 +27,7 @@ return: 0
END
TEST "C plugin test, nested" plugin_examplepluginc_nested <<END
out: config path is: ./
out: config path is: ./
out: plugin path is: .libs
out: Hallo Welt!
out: Hello World!

View file

@ -1,4 +1,4 @@
TESTING "Proc Layer config rules Test Suite" ./test-common --group=query
TESTING "Proc Layer config rules Test Suite" ./test-lib --group=query

View file

@ -95,10 +95,16 @@ artifacts['testsuite'] = ts = ( [ testExecutable(env, dir) for dir in moduledirs
#
testEnv = env.Clone()
if not env['VALGRIND']:
testEnv.Append(ENV = {'VALGRINDFLAGS' : 'DISABLE'})
testEnv.Append(ENV = { 'VALGRINDFLAGS' : 'DISABLE'
, 'LUMIERA_CONFIG_PATH' : './' })
testsuites = env['TESTSUITES'] or os.environ.get('TESTSUITES')
if testsuites:
testEnv['ENV']['TESTSUITES'] = testsuites
pluginpath = os.environ.get('LUMIERA_PLUGIN_PATH')
if testsuites:
testEnv['ENV']['LUMIERA_PLUGIN_PATH'] = pluginpath
testDir = env.Dir('#$BINDIR')
runTest = env.File("test.sh").abspath