From e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 7 Sep 2026 23:19:53 +0200 Subject: vnf: display also the break mark on report() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When reporting the final instruction, if that was actually a brk (and hence we stopped because of it), show the breaking mark as that could be relevant when debugging. Signed-off-by: Miquel Sabaté Solà --- scripts/test-e2e.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/test-e2e.sh') diff --git a/scripts/test-e2e.sh b/scripts/test-e2e.sh index 2dce6fb..4df7128 100755 --- a/scripts/test-e2e.sh +++ b/scripts/test-e2e.sh @@ -288,6 +288,12 @@ echo "test: runrom => stack.nes" diff tests/out/stack.txt tests/expected/runrom/stack.txt exit_code=$((exit_code + $?)) +echo "test: runrom => halt.nes" +./target/debug/nasm -Werror -o tests/out/halt.nes tests/runrom/halt.s +./target/debug/runrom --dump-memory tests/out/halt.nes > tests/out/halt.txt +diff tests/out/halt.txt tests/expected/runrom/halt.txt +exit_code=$((exit_code + $?)) + echo "test: runrom => cmp.nes" ./target/debug/nasm -Werror --asan -o tests/out/cmp.nes tests/runrom/cmp.s ./target/debug/runrom --function --dump-memory tests/out/cmp.nes > tests/out/cmp.txt -- cgit v1.2.3