am_parallel_tests=yes
. ./defs || Exit 1
-set -e
-
cat >> configure.ac << 'END'
AC_OUTPUT
END
$MAKE check > stdout || { cat stdout; Exit 1; }
cat stdout
-grep "All $count tests" stdout
+grep "^# TOTAL: $count$" stdout
+grep "^# PASS: $count$" stdout
grep "^PASS: .*$tname-[0-9][0-9]*\.test" stdout > grp
ls -1 $deepdir | grep '\.log$' > lst
grep "^PASS: .*$tname-1\.test" stdout
grep "^PASS: .*$tname-2\.test" stdout
test `LC_ALL=C grep -c "^[A-Z][A-Z]*:" stdout` -eq 2
-grep "All 2 tests" stdout
+grep "^# TOTAL: 2$" stdout
+grep "^# PASS: 2$" stdout
# "make clean" might ignore some failures, so we prefer to also grep its
# output to ensure that no "Argument list too long" error was encountered.