> 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
 12:04:51  up 1 day 15:33,  2 users,  load average: 0.60, 0.50, 0.48
This commit is contained in:
tracer-ysyx 2024-03-06 12:04:51 +08:00 committed by xinyangli
parent 8c36e50e6a
commit 4bec6d86ef

View file

@ -87,7 +87,10 @@ 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_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" @printf "$(COLOR_RED)FAILED:$(COLOR_NONE)\n"
@cat $(RESULT) @cat $(RESULT)
@test ! -s $(RESULT); \ r=$$?; \ $(RM) $(RESULT); \ test $$r -eq 0 @test ! -s $(RESULT); \
r=$$?; \
$(RM) $(RESULT); \
test $$r -eq 0
test: unit-tests integration-tests test: unit-tests integration-tests
@$(OBJ_DIR)/tests/expr_test @$(OBJ_DIR)/tests/expr_test