From 2c9263b3a9a4d62557ba6cd201ac8e9943c403ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=AC=A7?= Date: Thu, 21 Feb 2019 17:37:43 +0800 Subject: [PATCH] Update Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 26387e68..124af8eb 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,11 @@ test: if grep -q "^--- FAIL" tmp.out; then \ rm tmp.out; \ exit 1; \ - elif grep -q "build failed" tmp.out; then \ + elif grep -q "[build failed]" tmp.out; then \ + rm tmp.out; \ + exit 1; \ + fi; \ + elif grep -q "[setup failed]" tmp.out; then \ rm tmp.out; \ exit 1; \ fi; \