Skip to content

Commit

Permalink
check-exercises: Output progress dot when DENYWARNINGS
Browse files Browse the repository at this point in the history
Otherwise, Travis may assume we're hung if we don't produce output in
10+ minutes. Normally we don't think checking all exercises takes this
long, but this prepares for the future and prevents spurious failures in
instances when outside circumstances cause slowness.

This approach was suggested in response to such a failure in
#435 (comment)
  • Loading branch information
petertseng committed Mar 4, 2018
1 parent cfbf665 commit a3a7b16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _test/check-exercises.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ for exercise in $files; do
# Compiler errors will still be shown though.
# Both flags are necessary to keep things quiet.
./bin/test-exercise $directory --quiet --no-run
# Output a progress dot; otherwise Travis may assume we're hung,
# if we don't produce output in > 10 mins.
echo -n '.'
return_code=$(($return_code | $?))
else
# Run the test and get the status
Expand Down

0 comments on commit a3a7b16

Please sign in to comment.