diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-07 22:31:33 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-07 23:03:55 +0200 |
| commit | a17bd972a99007099057d7901b88732b22d08270 (patch) | |
| tree | fd278e8863d1123598b697751e514051c83f2335 /scripts | |
| parent | 2f4caa8e39ac39969522c4a2a285256c9a13b2c6 (diff) | |
| download | tools.nes-a17bd972a99007099057d7901b88732b22d08270.tar.gz tools.nes-a17bd972a99007099057d7901b88732b22d08270.zip | |
vnf: add the 'Machine.halt_on_brk' field
This allows developers to use 'brk' as asserts which can then be
debugged. This is true by default but it can be turned off via the
--no-halting-brk option from runrom.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/test-e2e.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test-e2e.sh b/scripts/test-e2e.sh index 573a729..2dce6fb 100755 --- a/scripts/test-e2e.sh +++ b/scripts/test-e2e.sh @@ -284,7 +284,7 @@ exit_code=$((exit_code + $?)) echo "test: runrom => stack.nes" ./target/debug/nasm -Werror -o tests/out/stack.nes tests/runrom/stack.s -./target/debug/runrom --function --dump-memory tests/out/stack.nes > tests/out/stack.txt +./target/debug/runrom --no-halting-brk --function --dump-memory tests/out/stack.nes > tests/out/stack.txt diff tests/out/stack.txt tests/expected/runrom/stack.txt exit_code=$((exit_code + $?)) |
