From 6534358a1ae0e3540f84ebc531519fe5c5711ad3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 Nov 2010 23:09:49 +0100 Subject: selftest: When running on the buildfarm, pipe everything through filter-subunit for the exit code. Autobuild-User: Jelmer Vernooij Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104 --- source4/selftest/wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/selftest/wscript b/source4/selftest/wscript index a5fafa3d6a..e6b75d10f4 100644 --- a/source4/selftest/wscript +++ b/source4/selftest/wscript @@ -161,6 +161,8 @@ def cmd_testonly(opt): cmd = '(${PERL} %s/../selftest/selftest.pl --prefix=${SELFTEST_PREFIX} --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="${PYTHON} ./selftest/tests.py|" ${OPTIONS} --socket-wrapper ${TESTS} && touch ${SELFTEST_PREFIX}/st_done) | ${FILTER_OPTIONS} | tee ${SELFTEST_PREFIX}/subunit' % (os.getcwd()) if os.environ.get('RUN_FROM_BUILD_FARM') is None and not Options.options.FILTERED_SUBUNIT: cmd += ' | ${FORMAT_TEST_OUTPUT}' + else: + cmd += ' | ${PYTHON} -u ../selftest/filter-subunit' cmd = EXPAND_VARIABLES(opt, cmd) print("test: running %s" % cmd) -- cgit