diff --git a/nemu/Makefile b/nemu/Makefile index 21b4df8..08c3466 100644 --- a/nemu/Makefile +++ b/nemu/Makefile @@ -87,7 +87,7 @@ integration-tests: $(IMAGES) @printf "$(COLOR_BLUE)RESULT:$(COLOR_NONE)\n\tALL: %s\n\tFAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ') @printf "$(COLOR_RED)FAILED:$(COLOR_NONE)\n" @cat $(RESULT) - @test ! -s $(RESULT) && $(RM) $(RESULT) + @test ! -s $(RESULT); $(RM) $(RESULT) test: unit-tests integration-tests @$(OBJ_DIR)/tests/expr_test