Преглед на файлове

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; \