* t/parallel-tests-console-output.sh: Do not depend on the order
of items in test summary. With a parallel test run, they may
appear in a different order, e.g., when running tests like this:
make check AM_TESTSUITE_MAKE='make -j14'
Sort the expected output and the actual output before comparing.
END
cat > exp <<'END'
-FAIL: fail.test
-PASS: pass.test
ERROR: error.test
-XPASS: sub/xpass.test
-XFAIL: xfail.test
ERROR: sub/error2.test
+FAIL: fail.test
+PASS: pass.test
SKIP: a/b/skip.test
+XFAIL: xfail.test
+XPASS: sub/xpass.test
END
mkdir sub a a/b
fi
$srcdir/configure
run_make -O -e FAIL check
- LC_ALL=C grep '^[A-Z][A-Z]*:' stdout > got
+ LC_ALL=C grep '^[A-Z][A-Z]*:' stdout | sort > got
cat got
diff $srcdir/exp got
cd $srcdir