Adding ark tests
This commit is contained in:
parent
afc0c273c5
commit
482687539e
|
@ -156,7 +156,7 @@ int main(int argc, char *argv[])
|
|||
if (jaffarCommon::file::loadStringFromFile(sequenceRaw, sequenceFilePath) == false) JAFFAR_THROW_LOGIC("[ERROR] Could not find or read from input sequence file: %s\n", sequenceFilePath.c_str());
|
||||
|
||||
// Building sequence information
|
||||
const auto sequence = jaffarCommon::string::split(sequenceRaw, ' ');
|
||||
const auto sequence = jaffarCommon::string::split(sequenceRaw, '\n');
|
||||
|
||||
// Getting sequence lenght
|
||||
const auto sequenceLength = sequence.size();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Initial State File": "",
|
||||
"Sequence File": "arkanoid.arkNESController.sol",
|
||||
"Disable State Blocks": [ "SRAM", "CHRR", "NTAB", "SPRT", "MAPR", "CTRL", "APUR" ],
|
||||
"Controller 1 Type": "Joypad",
|
||||
"Controller 1 Type": "ArkanoidNES",
|
||||
"Controller 2 Type": "None",
|
||||
"Differential Compression":
|
||||
{
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"Rom File": "roms/Arkanoid II (J) [!].nes",
|
||||
"Expected ROM SHA1": "79F9D3DA1904400832546216833978A2261313A5",
|
||||
"Initial State File": "",
|
||||
"Sequence File": "arkanoid2.arkFamicomController.sol",
|
||||
"Disable State Blocks": [ "SRAM", "CHRR", "NTAB", "SPRT", "MAPR", "CTRL", "APUR" ],
|
||||
"Controller 1 Type": "ArkanoidFamicom",
|
||||
"Controller 2 Type": "None",
|
||||
"Differential Compression":
|
||||
{
|
||||
"Enabled": false,
|
||||
"Max Differences": 2200,
|
||||
"Use Zlib": true
|
||||
}
|
||||
}
|
|
@ -91,4 +91,24 @@ if get_option('onlyOpenSource') == false
|
|||
timeout: testTimeout,
|
||||
args : [ testFile, '--cycleType', 'Full'],
|
||||
suite : [ testSuite ])
|
||||
|
||||
testFile = 'arkanoid.arkNESController.test'
|
||||
testSuite = testFile.split('.')[0]
|
||||
testName = testFile.split('.')[1]
|
||||
test(testName,
|
||||
quickerNESTester,
|
||||
workdir : meson.current_source_dir(),
|
||||
timeout: testTimeout,
|
||||
args : [ testFile, '--cycleType', 'Full'],
|
||||
suite : [ testSuite ])
|
||||
|
||||
testFile = 'arkanoid2.arkFamicomController.test'
|
||||
testSuite = testFile.split('.')[0]
|
||||
testName = testFile.split('.')[1]
|
||||
test(testName,
|
||||
quickerNESTester,
|
||||
workdir : meson.current_source_dir(),
|
||||
timeout: testTimeout,
|
||||
args : [ testFile, '--cycleType', 'Full'],
|
||||
suite : [ testSuite ])
|
||||
endif
|
Loading…
Reference in New Issue