Parcourir la source

change Makefile

Olivier Marty il y a 8 ans
Parent
commit
ef171b401d
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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 $@...