From: g0dil Date: Mon, 9 Aug 2010 12:15:28 +0000 (+0000) Subject: Fix some small and innocent build-system bugs X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=c2628279c5e32edb8a52ace36e7b096e417e6262;p=senf.git Fix some small and innocent build-system bugs git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1666 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/SConstruct b/SConstruct index 98afe05..ec88386 100644 --- a/SConstruct +++ b/SConstruct @@ -121,8 +121,8 @@ env.SetDefault( GENHTML = "genhtml", VALGRIND = "valgrind", SCONSBIN = env.File("#/tools/scons"), - SCONSARGS = [ '-Q', '-j$CONCURRENCY_LEVEL', 'debug=$debug', 'final=$final' ] + \ - [ '%s=%s' % (k,v) for k,v in ARGUMENTS.iteritems() ], + SCONSARGS = ([ '-Q', '-j$CONCURRENCY_LEVEL' ] + + [ '%s=%s' % (k,v) for k,v in ARGUMENTS.iteritems() ]), SCONS = "@$SCONSBIN $SCONSARGS", CONCURRENCY_LEVEL = env.GetOption('num_jobs') or 1, TOPDIR = env.Dir('#').abspath, diff --git a/site_scons/senfconf.py b/site_scons/senfconf.py index c6fc6c8..28d4b31 100644 --- a/site_scons/senfconf.py +++ b/site_scons/senfconf.py @@ -9,6 +9,7 @@ def Tests(): def Test(func): global _configTests _configTests[func.__name__] = func + return func # class TemporaryContext: # def __init__(self, context):