Pārlūkot izejas kodu

change Makefile

Olivier Marty 8 gadi atpakaļ
vecāks
revīzija
ef171b401d
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      code/Makefile

+ 1 - 2
code/Makefile

@@ -7,8 +7,7 @@ run: $(TEST_RUN)
 
 %_test.run: %_test
 	@echo Testing $<...
-	@./$<
-	@echo OK
+	@(./$< && echo OK) || echo FAIL
 
 %_test: %_test.cpp %.cpp
 	@echo Compiling $@...