Переглянути джерело

chore: fix Make script when failed (#1774)

田欧 6 роки тому
батько
коміт
e6886e1539
1 змінених файлів з 4 додано та 1 видалено
  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; \