diff options
Diffstat (limited to 'scripts/test-e2e.sh')
| -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 |
