3 FILTER_XFAIL
="${PYTHON} -u ${SELFTESTDIR}/filter-subunit --expected-failures=${SOURCEDIR}/selftest/knownfail"
4 if [ "x${SUBUNIT_FORMATTER}" = x
"" ]; then
5 SUBUNIT_FORMATTER
="${PYTHON} -u ${SELFTESTDIR}/format-subunit --prefix=${SELFTESTPREFIX} --immediate"
9 if test "$1" = 0 -o -z "$1"; then
17 test -f ${SELFTESTPREFIX}/st_done ||
{ echo "SELFTEST FAILED"; cleanup_and_exit
1; }
20 if [ "x${RUN_FROM_BUILD_FARM}" = "xyes" ]; then
21 ( rm -f ${SELFTESTPREFIX}/st_done
&& \
22 ${PERL} ${SELFTESTDIR}/selftest.pl \
23 --prefix=${SELFTESTPREFIX} --target=samba3 \
24 --testlist="${SOURCEDIR}/selftest/tests.sh|" \
25 --exclude=${SOURCEDIR}/selftest
/skip \
26 --socket-wrapper ${TESTS} \
27 && touch ${SELFTESTPREFIX}/st_done
) | \
28 ${FILTER_XFAIL} --strip-passed-output
33 ( rm -f ${SELFTESTPREFIX}/st_done
&& \
34 ${PERL} ${SELFTESTDIR}/selftest.pl \
35 --prefix=${SELFTESTPREFIX} --target=samba3 \
36 --testlist="${SOURCEDIR}/selftest/tests.sh|" \
37 --exclude=${SOURCEDIR}/selftest
/skip \
38 --socket-wrapper ${TESTS} \
39 && touch ${SELFTESTPREFIX}/st_done
) | \
40 ${FILTER_XFAIL} |
${SUBUNIT_FORMATTER}
46 cleanup_and_exit
${EXIT_STATUS}