tests: run under Xvfb by default (if available) (#2951)
This shaves off two seconds of wall-clock time (10s → 8s).
This commit is contained in:
committed by
GitHub
parent
28ca1e8529
commit
44a6efb5b0
@ -26,7 +26,7 @@ fi
|
||||
|
||||
# Try running the tests in parallel so that the common case (tests pass) is
|
||||
# quick, but fall back to running them in sequence to make debugging easier.
|
||||
if ! xvfb-run make check
|
||||
if ! make check
|
||||
then
|
||||
xvfb-run ./testcases/complete-run.pl --parallel=1 || (cat latest/complete-run.log; false)
|
||||
./testcases/complete-run.pl --parallel=1 || (cat latest/complete-run.log; false)
|
||||
fi
|
||||
|
Reference in New Issue
Block a user