File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 64
64
make distclean && make ENABLE_EXT_F=0 check -j$(nproc)
65
65
make distclean && make ENABLE_EXT_C=0 check -j$(nproc)
66
66
make distclean && make ENABLE_SDL=0 check -j$(nproc)
67
+ - name : misalignment test in block emulation
68
+ run : |
69
+ make -C tests/system/alignment/
70
+ make distclean && make ENABLE_EXT_C=0 ENABLE_SYSTEM=1 misalign-in-blk-emu -j$(nproc)
67
71
- name : gdbstub test
68
72
run : |
69
73
make distclean && make ENABLE_GDBSTUB=1 gdbstub-test -j$(nproc)
Original file line number Diff line number Diff line change @@ -289,6 +289,16 @@ misalign: $(BIN) artifact
289
289
$(PRINTF ) " Failed.\n" ; \
290
290
fi
291
291
292
+ EXPECTED_misalign = MISALIGNED INSTRUCTION FETCH TEST PASSED!
293
+ misalign-in-blk-emu : $(BIN )
294
+ $(Q )$(PRINTF ) " Running misalign.elf ... " ; \
295
+ if [ " $( shell $( BIN) tests/system/alignment/misalign.elf | tail -n 2) " = " $( strip $( EXPECTED_misalign) ) inferior exit code 0" ]; then \
296
+ $(call notice, [OK]) ; \
297
+ else \
298
+ $(PRINTF ) " Failed.\n" ; \
299
+ exit 1; \
300
+ fi ;
301
+
292
302
# Non-trivial demonstration programs
293
303
ifeq ($(call has, SDL) , 1)
294
304
doom_action := (cd $(OUT ) ; ../$(BIN ) riscv32/doom)
You can’t perform that action at this time.
0 commit comments