Browse Source

change Makefile

Olivier Marty 8 years ago
parent
commit
ef171b401d
1 changed files with 1 additions and 2 deletions
  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 $@...