Parcourir la source

chore: fix Make script when failed (#1774)

田欧 il y a 6 ans
Parent
commit
e6886e1539
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      Makefile

+ 4 - 1
Makefile

@@ -21,7 +21,10 @@ test:
 			exit 1; \
 		elif grep -q "build failed" tmp.out; then \
 			rm tmp.out; \
-			exit; \
+			exit 1; \
+		elif grep -q "setup failed" tmp.out; then \
+			rm tmp.out; \
+			exit 1; \
 		fi; \
 		if [ -f profile.out ]; then \
 			cat profile.out | grep -v "mode:" >> coverage.out; \