From a18749169383ab0ebf85946d12bdca61ba0520bc Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Wed, 1 Nov 2017 13:53:03 -0500 Subject: [PATCH] Also search for panics and output 10 lines of context around it --- GNUmakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/GNUmakefile b/GNUmakefile index cf0666c6b..5fc2eb54c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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