diff options
Diffstat (limited to 'scripts/test-e2e.sh')
| -rwxr-xr-x | scripts/test-e2e.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/test-e2e.sh b/scripts/test-e2e.sh index 4496d85..7893274 100755 --- a/scripts/test-e2e.sh +++ b/scripts/test-e2e.sh @@ -282,6 +282,12 @@ echo "test: runrom => arithlog.nes" diff tests/out/arithlog.txt tests/expected/runrom/arithlog.txt 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 +diff tests/out/stack.txt tests/expected/runrom/stack.txt +exit_code=$((exit_code + $?)) + echo "test: runrom => misc.nes" ./target/debug/nasm -Werror --asan --write-info --allow-unused --out tests/out/misc.nes tests/runrom/misc.s ./target/debug/runrom --nasm .nasm --dump-memory --function tests/out/misc.nes > tests/out/misc-all.txt @@ -297,6 +303,12 @@ diff tests/out/misc-foo.txt tests/expected/runrom/misc-foo.txt exit_code=$((exit_code + $?)) ## +# vnf-tests + +echo "test: vnf-tests" +cargo run --bin vnf-tests tests/ + +## # Done! exit $exit_code |
