aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-e2e.sh
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-08-30 00:06:39 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-09-06 15:47:50 +0200
commitad77503d953302f22a621093ba359e24526892ec (patch)
tree8ac6bf8e8839d0ebfe1d2d654cab0870f5a67136 /scripts/test-e2e.sh
parente1b830309d86f6b1fff803ed94f34ce7002eb532 (diff)
downloadtools.nes-ad77503d953302f22a621093ba359e24526892ec.tar.gz
tools.nes-ad77503d953302f22a621093ba359e24526892ec.zip
vnf: add support for standard joypads
This means adding constants so developers can actually trigger which key presses are available at any given read, as well as a simple interface that allows to add button presses and clear them. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'scripts/test-e2e.sh')
-rwxr-xr-xscripts/test-e2e.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/test-e2e.sh b/scripts/test-e2e.sh
index 7893274..e3f85e1 100755
--- a/scripts/test-e2e.sh
+++ b/scripts/test-e2e.sh
@@ -305,6 +305,9 @@ exit_code=$((exit_code + $?))
##
# vnf-tests
+# Needed for run_joypad_test()
+./target/debug/nasm --asan -Werror -w -o tests/out/joypad.nes tests/runrom/joypad.s
+
echo "test: vnf-tests"
cargo run --bin vnf-tests tests/