diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-29 23:37:48 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-09-29 23:37:48 +0200 |
| commit | 54e3fc561add5ce9d776a11a286b988aacb59daa (patch) | |
| tree | 0e1eca3d85988d389e14525c85917646dd8796ac /scripts | |
| parent | 438c379b9ce4c6a6e4da445c3bf7f94458b1c816 (diff) | |
| download | tools.nes-54e3fc561add5ce9d776a11a286b988aacb59daa.tar.gz tools.nes-54e3fc561add5ce9d776a11a286b988aacb59daa.zip | |
nasm: warn on labels that point out of bounds
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/test-e2e.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/test-e2e.sh b/scripts/test-e2e.sh index 4df7128..4b9af90 100755 --- a/scripts/test-e2e.sh +++ b/scripts/test-e2e.sh @@ -147,6 +147,13 @@ exit_code=$((exit_code + $?)) diff tests/out/global-labels.nes tests/expected/global-labels.nes exit_code=$((exit_code + $?)) +echo "test: custom => out.nes" +./target/debug/nasm -c empty -Werror --asan -o tests/out/out.nes tests/out.s 2>tests/out/out.txt +diff tests/out/out.txt tests/expected/out.txt +exit_code=$((exit_code + $?)) +diff tests/out/out.nes tests/expected/out.nes +exit_code=$((exit_code + $?)) + ## # code.nes |
