diff --git a/nemu/Makefile b/nemu/Makefile index 2304f99..546de80 100644 --- a/nemu/Makefile +++ b/nemu/Makefile @@ -79,7 +79,7 @@ RESULT = .result $(shell > $(RESULT)) # Clear result file $(IMAGES): %: %.bin $(BINARY) - @$(BINARY) -b $< > /dev/null || printf "[%14s] $(COLOR_RED)FAIL$(COLOR_NONE)\n" $(notdir $<) >> .result + @$(BINARY) -b $< >/dev/null 2&>1 || printf "[%14s] $(COLOR_RED)FAIL$(COLOR_NONE)\n" $(notdir $<) >> $(RESULT) integration-tests: $(IMAGES) @cat $(RESULT)