> 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:26:05 up 1 day 14:54, 2 users, load average: 0.33, 0.43, 0.34
This commit is contained in:
parent
7e67e94a5c
commit
63f5339b1d
1 changed files with 5 additions and 2 deletions
|
@ -71,9 +71,12 @@ unit-tests: $(TEST_SRCS:%.c=$(OBJ_DIR)/%)
|
||||||
|
|
||||||
IMAGES = $(patsubst %.bin, %, $(shell find $(IMAGES_PATH) -type f -name '*.bin'))
|
IMAGES = $(patsubst %.bin, %, $(shell find $(IMAGES_PATH) -type f -name '*.bin'))
|
||||||
|
|
||||||
|
COLOR_RED = \033[1;31m
|
||||||
|
COLOR_GREEN = \033[1;32m
|
||||||
|
COLOR_NONE = \033[0m
|
||||||
|
|
||||||
$(IMAGES): %: %.bin $(BINARY)
|
$(IMAGES): %: %.bin $(BINARY)
|
||||||
@echo + TEST $(notdir $<)
|
@$(BINARY) -b $< > /dev/null || printf "[%14s] $(COLOR_RED)***FAIL***$(COLOR_NONE)\n" $<
|
||||||
@$(BINARY) -b $< > /dev/null || echo "Failure"
|
|
||||||
|
|
||||||
integration-tests: $(IMAGES)
|
integration-tests: $(IMAGES)
|
||||||
@echo $(IMAGES_PATH)
|
@echo $(IMAGES_PATH)
|
||||||
|
|
Loading…
Reference in a new issue