diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-21 23:09:49 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-21 23:56:23 +0100 |
commit | 6534358a1ae0e3540f84ebc531519fe5c5711ad3 (patch) | |
tree | bd4d6badb69f3081f91285517c49a7bb112d8033 /source4/selftest | |
parent | 7f32c21ef0cea606eaf86d36812ba596d65844fc (diff) | |
download | samba-6534358a1ae0e3540f84ebc531519fe5c5711ad3.tar.gz samba-6534358a1ae0e3540f84ebc531519fe5c5711ad3.tar.bz2 samba-6534358a1ae0e3540f84ebc531519fe5c5711ad3.zip |
selftest: When running on the buildfarm, pipe everything through
filter-subunit for the exit code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/selftest')
-rw-r--r-- | source4/selftest/wscript | 2 |
1 files changed, 2 insertions, 0 deletions
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) |