Browse files

regress: Generate old and new output in parallel.

Travis gives us two CPUs, so we might as well make use of them.  This gives us
some breathing room within the job timeout.
  • Loading branch information...
1 parent 05bb61a commit ed2471d5a5d6a61bface3510da59b66e3505d0ac @gregordick gregordick committed Nov 3, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 regress/scripts/
@@ -97,7 +97,6 @@ run_test() {
# Travis fails the build if it's quiet for too long, so print a heartbeat.
- echo -n "${hour}.."
for date in ${dates}; do
echo -n .
for short_version in ${versions}; do
@@ -146,8 +145,9 @@ main() {
# Run test against each tree.
echo 'Testing...'
- run_test "${base_ref}" "${dates}" "${versions}"
- run_test "${test_ref}" "${dates}" "${versions}"
+ run_test "${base_ref}" "${dates}" "${versions}" &
+ run_test "${test_ref}" "${dates}" "${versions}" &
+ wait
# Generate diff. git-diff with the (implied) --no-index option has an exit
# code of 1 both when there are differences and when there are errors, so

0 comments on commit ed2471d

Please sign in to comment.