summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-01 13:30:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-01 18:49:40 +0200
commitf70a98605eb620882073483fedf25d6aa4aca74e (patch)
treee9afcfe5bb357ffcfa6d13b494a53ea98bf3da02 /source3/selftest
parent9af570a2ef2313c309904ad291a8a0858d61eb68 (diff)
downloadsamba-f70a98605eb620882073483fedf25d6aa4aca74e.tar.gz
samba-f70a98605eb620882073483fedf25d6aa4aca74e.tar.bz2
samba-f70a98605eb620882073483fedf25d6aa4aca74e.zip
s3: Add subunit-test target.
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/s3-selftest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/selftest/s3-selftest.sh b/source3/selftest/s3-selftest.sh
index 86e4b75865..6105ff4660 100755
--- a/source3/selftest/s3-selftest.sh
+++ b/source3/selftest/s3-selftest.sh
@@ -1,7 +1,9 @@
#!/bin/sh
FILTER_XFAIL="${PYTHON} -u ${SELFTESTDIR}/filter-subunit --expected-failures=${SOURCEDIR}/selftest/knownfail"
-SUBUNIT_FORMATTER="${PYTHON} -u ${SELFTESTDIR}/format-subunit --prefix=${SELFTESTPREFIX} --immediate"
+if [ "x${SUBUNIT_FORMATTER}" = x"" ]; then
+ SUBUNIT_FORMATTER="${PYTHON} -u ${SELFTESTDIR}/format-subunit --prefix=${SELFTESTPREFIX} --immediate"
+fi
cleanup_and_exit() {
if test "$1" = 0 -o -z "$1"; then