From a17bd972a99007099057d7901b88732b22d08270 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 7 Sep 2026 22:31:33 +0200 Subject: vnf: add the 'Machine.halt_on_brk' field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- scripts/test-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/test-e2e.sh') 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 + $?)) -- cgit v1.2.3