diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/4.lua | 13 | ||||
| -rw-r--r-- | test/run.sh | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/test/4.lua b/test/4.lua new file mode 100644 index 0000000..41cbec2 --- /dev/null +++ b/test/4.lua @@ -0,0 +1,13 @@ +utils = require "utils" + +utils.StartRun("4") + +utils.MemTest("@test", {{0x07, "92"}, {0x08, "52"}}) + +-- The test appears to be done in a few frames. Let's run this several times +-- just in case. +for i = 0, 150, 1 do + emu.frameadvance(); +end + +utils.EndRun() diff --git a/test/run.sh b/test/run.sh index f8eac6c..527262d 100644 --- a/test/run.sh +++ b/test/run.sh @@ -19,7 +19,7 @@ if [ -n "${GITHUB_ACTION}" ]; then fi # Run all the tests that we have on Lua. -for name in $(seq 3); do +for name in $(seq 4); do DEBUG=1 make out/$name.nes fceux --loadlua "$ROOT/test/$name.lua" "$ROOT/out/$name.nes" done |
