mirror of
https://github.com/kemko/nomad.git
synced 2026-01-10 04:15:41 +03:00
Also search for panics and output 10 lines of context around it
This commit is contained in:
@@ -236,6 +236,7 @@ test-nomad: dev ## Run Nomad test suites
|
||||
@echo "Exit code: $$(cat exit-code)" >> test.log
|
||||
@grep -A1 -- '--- FAIL:' test.log || true
|
||||
@grep '^FAIL' test.log || true
|
||||
@grep -A10 'panic' test.log || true
|
||||
@test "$$TRAVIS" == "true" && cat test.log || true
|
||||
@if [ "$$(cat exit-code)" == "0" ] ; then echo "PASS" ; exit 0 ; else exit 1 ; fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user