> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux
 11:45:42  up 1 day 15:14,  2 users,  load average: 0.67, 0.70, 0.54
This commit is contained in:
tracer-ysyx 2024-03-06 11:45:42 +08:00 committed by xinyangli
parent b8bceb95ba
commit bbc087a4a3
2 changed files with 6 additions and 5 deletions

View file

@ -80,9 +80,10 @@ $(shell > $(RESULT)) # Clear result file
$(IMAGES): %: %.bin $(BINARY)
@echo + TEST $(notdir $<)
@$(BINARY) -b $< >/dev/null 2&>1 || printf "[%14s] $(COLOR_RED)FAIL$(COLOR_NONE)\n" $(notdir $<) >> $(RESULT)
@$(BINARY) -b $< >/dev/null 2&>1 || printf "%14s\n" $(notdir $<) >> $(RESULT)
integration-tests: $(IMAGES)
@printf "$(COLOR_RED)FAILED:$(COLOR_NONE)\n"
@cat $(RESULT)
@printf "Test result:\n ALL: %s, FAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ')
@$(RM) $(RESULT)