mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Makes tests on travis not run in verbose mode.
This commit is contained in:
10
scripts/test_check.sh
Executable file
10
scripts/test_check.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "Exit code: $(cat exit-code)" >> test.log;
|
||||
grep -A10 'panic: test timed out' test.log || true;
|
||||
grep -A1 -- '--- SKIP:' test.log || true;
|
||||
grep -A1 -- '--- FAIL:' test.log || true;
|
||||
grep '^FAIL' test.log || true;
|
||||
exit_code=`cat exit-code`
|
||||
echo $exit_code
|
||||
if [ ${exit_code} == "0" ]; then echo "PASS" ; exit 0 ; else echo "TESTS FAILED"; exit 1 ; fi
|
||||
|
||||
Reference in New Issue
Block a user