> 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:50:34 up 1 day 15:18, 2 users, load average: 0.35, 0.58, 0.54
This commit is contained in:
parent
c06e1b2daa
commit
22071af276
2 changed files with 2 additions and 176 deletions
|
@ -81,12 +81,13 @@ $(shell > $(RESULT)) # Clear result file
|
|||
|
||||
$(IMAGES): %: %.bin $(BINARY)
|
||||
@echo + TEST $(notdir $<)
|
||||
@$(BINARY) -b $< >/dev/null 2&>1 || printf "\t%14s\n" $(notdir $<) >> $(RESULT)
|
||||
@$(BINARY) -b $< >/dev/null 2>&1 || printf "\t%14s\n" $(notdir $<) >> $(RESULT)
|
||||
|
||||
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)
|
||||
@
|
||||
@$(RM) $(RESULT)
|
||||
|
||||
test: unit-tests integration-tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue