aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-09-07 23:19:53 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-09-07 23:19:53 +0200
commite2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa (patch)
tree4bfd91230b7834feb97d8a0cbb7b73ed10e5de29 /scripts
parenta17bd972a99007099057d7901b88732b22d08270 (diff)
downloadtools.nes-e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa.tar.gz
tools.nes-e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa.zip
vnf: display also the break mark on report()
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à <mssola@mssola.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test-e2e.sh6
1 files changed, 6 insertions, 0 deletions
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