diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-07 23:19:53 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-07 23:19:53 +0200 |
| commit | e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa (patch) | |
| tree | 4bfd91230b7834feb97d8a0cbb7b73ed10e5de29 /scripts | |
| parent | a17bd972a99007099057d7901b88732b22d08270 (diff) | |
| download | tools.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-x | scripts/test-e2e.sh | 6 |
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 |
