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