> 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:37:09 up 1 day 15:05, 2 users, load average: 0.58, 0.44, 0.38
This commit is contained in:
parent
12f8eda9d7
commit
737b62dbee
1 changed files with 2 additions and 2 deletions
|
@ -76,14 +76,14 @@ COLOR_GREEN = \033[1;32m
|
|||
COLOR_NONE = \033[0m
|
||||
|
||||
RESULT = .result
|
||||
$(shell > .result) # Clear result file
|
||||
$(shell > $(RESULT)) # Clear result file
|
||||
|
||||
$(IMAGES): %: %.bin $(BINARY)
|
||||
@$(BINARY) -b $< > /dev/null || printf "[%14s] $(COLOR_RED)FAIL$(COLOR_NONE)\n" $(notdir $<) >> .result
|
||||
|
||||
integration-tests: $(IMAGES)
|
||||
@cat $(RESULT)
|
||||
@cat $(shell wc -l $(RESULT))
|
||||
@echo $(shell wc -l $(RESULT))
|
||||
@$(RM) $(RESULT)
|
||||
|
||||
test: unit-tests integration-tests
|
||||
|
|
Loading…
Reference in a new issue