summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/selftest/s3-selftest.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/s3-selftest.sh b/source3/selftest/s3-selftest.sh
index 0d20324c68..f5f6f2a641 100755
--- a/source3/selftest/s3-selftest.sh
+++ b/source3/selftest/s3-selftest.sh
@@ -5,6 +5,10 @@ if [ "x${SUBUNIT_FORMATTER}" = x"" ]; then
SUBUNIT_FORMATTER="${PYTHON} -u ${SELFTESTDIR}/format-subunit --prefix=${SELFTESTPREFIX} --immediate"
fi
+if [ x"${FAIL_IMMEDIATELY}" != x"" ]; then
+ FILTER_XFAIL="${FILTER_XFAIL} --fail-immediately"
+fi
+
cleanup_and_exit() {
if test "$1" = 0 -o -z "$1"; then
exit 0