From: g0dil Date: Fri, 13 Oct 2006 13:47:20 +0000 (+0000) Subject: Fix boost-unit-test exit status reporting in SCons X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=58b3f9434c0455891e91ee0f59bd2847ee12b54c;p=senf.git Fix boost-unit-test exit status reporting in SCons git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@137 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/satscons/BoostUnitTests.py b/satscons/BoostUnitTests.py index 6976e12..3579a8e 100644 --- a/satscons/BoostUnitTests.py +++ b/satscons/BoostUnitTests.py @@ -23,7 +23,7 @@ def BoostUnitTests(env, target, source, test_source=None, LIBS = [], DEPENDS = [ if DEPENDS: env.Depends(testRunner, DEPENDS) return env.Command([ target, stamp ], testRunner, - [ '( $SOURCE $BOOSTTESTARGS 2>&1 && touch ${TARGETS[1]} ) | tee ${TARGETS[0]}' ]) + [ '( $SOURCE $BOOSTTESTARGS 2>&1 && touch ${TARGETS[1]} ) | tee ${TARGETS[0]}; exit $$PIPESTATUS[0]' ]) def dispatcher(*arg,**kw): return BoostUnitTests(*arg,**kw)