Skip to content

Commit 52c21f9

Browse files
committed
chore: add single sim test step
1 parent fe07dae commit 52c21f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rtl/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ export NOOP_HOME := $(ROOT_PATH)
6666
export DRAMSIM3_HOME := $(DRAMSIM3_HOME)
6767

6868
define getRecursiveTestRes
69-
@echo "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
7069
@printf "[%2d/%d]" $$(echo $$(cat $(1)/build/log/allcasenum-log.txt) + 1 | bc) $(2)
7170
@echo $$(echo $$(cat $(1)/build/log/allcasenum-log.txt) + 1 | bc) > $(1)/build/log/allcasenum-log.txt
71+
-$(BUILD_DIR)/emu -i $<
7272
-@$(BUILD_DIR)/emu -i $< &> $(1)/build/log/$@-log.txt
7373

7474
@printf "[%25s] " $@
@@ -215,15 +215,13 @@ riscvRecursiveTest: $(riscvTestLogFile) $(riscvTestCaseName)
215215

216216
$(riscvTestLogFile):
217217
@echo "=====HELLO======"
218-
@printf "=====ASDFASDF======"
219218
$(shell touch $(RISCVTEST_HOME)/build/log/$@)
220219
$(shell touch $(RISCVTEST_HOME)/build/log/allcasenum-log.txt)
221220
$(shell touch $(RISCVTEST_HOME)/build/log/passcasenum-log.txt)
222221
$(shell echo 0 > $(RISCVTEST_HOME)/build/log/allcasenum-log.txt)
223222
$(shell echo 0 > $(RISCVTEST_HOME)/build/log/passcasenum-log.txt)
224223

225224
$(riscvTestCaseName): riscvtest-%: $(RISCVTEST_HOME)/build/%-riscv64-mycpu.bin
226-
@echo "TTTTTTTTTTTTTTTTTTTT"
227225
$(call getRecursiveTestRes, $(RISCVTEST_HOME), $(riscvNum))
228226

229227

0 commit comments

Comments
 (0)