Adding tests

This commit is contained in:
Sergio Martin 2024-01-13 09:02:46 +01:00
parent b36822dfaa
commit f98b52ca28
12 changed files with 65141 additions and 2 deletions

1
tests/games/README.md Normal file
View File

@ -0,0 +1 @@
Some of the sequences hosted in this folder correspond to movies published in tasvideos.org under the Creative Commons 2.0 license. These movies were created by the author of this code (Sergio Martin, a.k.a. eien86), unless stated otherwise.

View File

@ -1,4 +1,4 @@
# Castlevania 1 Tests
game = 'castlevania1'
goal = 'anyPercent'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])

View File

@ -2,3 +2,5 @@ nomalloc = environment({'MALLOC_PERTURB_': '0'})
subdir('castlevania1')
subdir('superOffroad')
subdir('princeOfPersia')
subdir('ninjaGaiden')

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
{
"Rom File": "Ninja Gaiden (U) [!].nes",
"Expected ROM SHA1": "CA513F841D75EFEB33BB8099FB02BEEB39F6BB9C",
"Initial State File": "",
"Verification State File": "anyPercent.final.state",
"Sequence File": "anyPercent.sol"
}

View File

@ -0,0 +1,4 @@
game = 'ninjaGaiden'
goal = 'anyPercent'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
{
"Rom File": "Prince of Persia (U) [!].nes",
"Expected ROM SHA1": "6B58F149F34FA829135619C58700CAAA95B9CDE3",
"Initial State File": "",
"Verification State File": "lvl7.final.state",
"Sequence File": "lvl7.sol"
}

View File

@ -0,0 +1,4 @@
game = 'princeOfPersia'
goal = 'lvl7'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])

View File

@ -1,4 +1,4 @@
# Ivan 'Ironman' Stewart's Super Off Road (USA) Tests
game = 'superOffroad'
goal = 'anyPercent'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])