> 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:47:09 up 1 day 15:15, 2 users, load average: 0.55, 0.65, 0.54
This commit is contained in:
parent
574043ede5
commit
95e819824b
2 changed files with 6 additions and 5 deletions
8
nemu/1
8
nemu/1
|
@ -167,9 +167,9 @@ If it is the second case, remember:
|
|||
[0m0x80000068: 02 f7 66 33 rem a2, a4, a5
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:125 cpu_exec() [0mnemu: [1;31mABORT[0m at pc = 0x80000068
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:125 cpu_exec() [0mnemu: [1;31mABORT[0m at pc = 0x80000068
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:93 statistic() [0mhost time spent = 369 us
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:93 statistic() [0mhost time spent = 369 us
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:93 statistic() [0mhost time spent = 381 us
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:93 statistic() [0mhost time spent = 381 us
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:94 statistic() [0mtotal guest instructions = 123
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:94 statistic() [0mtotal guest instructions = 123
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:95 statistic() [0msimulation frequency = 333,333 inst/s
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:95 statistic() [0msimulation frequency = 333,333 inst/s
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:95 statistic() [0msimulation frequency = 322,834 inst/s
|
||||
[1;34m[INFO] src/cpu/cpu-exec.c:95 statistic() [0msimulation frequency = 322,834 inst/s
|
||||
|
|
|
@ -73,6 +73,7 @@ IMAGES = $(patsubst %.bin, %, $(shell find $(IMAGES_PATH) -type f -name '*.bin')
|
|||
|
||||
COLOR_RED = \033[1;31m
|
||||
COLOR_GREEN = \033[1;32m
|
||||
COLOR_BLUE = \033[1;34m
|
||||
COLOR_NONE = \033[0m
|
||||
|
||||
RESULT = .result
|
||||
|
@ -83,7 +84,7 @@ $(IMAGES): %: %.bin $(BINARY)
|
|||
@$(BINARY) -b $< >/dev/null 2&>1 || printf "\t%14s\n" $(notdir $<) >> $(RESULT)
|
||||
|
||||
integration-tests: $(IMAGES)
|
||||
@printf "Test result:\n ALL: %s, FAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ')
|
||||
@printf "$(COLOR_BLUE)RESULT:$(COLOR_BLUE)\n\tALL: %s, FAILED: %s\n" $(words $(IMAGES)) $(shell wc -l $(RESULT) | cut -f1 -d' ')
|
||||
@printf "$(COLOR_RED)FAILED:$(COLOR_NONE)\n"
|
||||
@cat $(RESULT)
|
||||
@$(RM) $(RESULT)
|
||||
|
|
Loading…
Reference in a new issue