Fixes
This commit is contained in:
parent
28c1be6fe7
commit
2eee66cda8
|
@ -18,7 +18,7 @@ class EmuInstance
|
||||||
typedef uint8_t inputType;
|
typedef uint8_t inputType;
|
||||||
|
|
||||||
// Deleting default constructors
|
// Deleting default constructors
|
||||||
~EmuInstance() = default;
|
virtual ~EmuInstance() = default;
|
||||||
|
|
||||||
// Controller input bits
|
// Controller input bits
|
||||||
// 0 - A / 1
|
// 0 - A / 1
|
||||||
|
|
|
@ -17,17 +17,25 @@ testerArgs=${@:4}
|
||||||
mode="normal"
|
mode="normal"
|
||||||
if [ "${4}" = "--fullCycle" ]; then mode="fullCycle"; fi
|
if [ "${4}" = "--fullCycle" ]; then mode="fullCycle"; fi
|
||||||
|
|
||||||
|
# Hash files
|
||||||
|
quickerNESHashFile="quickerNES.${script}.${mode}.hash"
|
||||||
|
quickNESHashFile="quickNES.${script}.${mode}.hash"
|
||||||
|
|
||||||
|
# Removing them if already present
|
||||||
|
rm -f ${quickerNESHashFile}
|
||||||
|
rm -f ${quickNESHashFile}
|
||||||
|
|
||||||
# Running script on quickerNES
|
# Running script on quickerNES
|
||||||
${quickerNESExecutable} ${script} --hashOutputFile quickerNES.${script}.${mode}.hash ${testerArgs}
|
${quickerNESExecutable} ${script} --hashOutputFile ${quickerNESHashFile} ${testerArgs}
|
||||||
|
|
||||||
# Running script on quickNES
|
# Running script on quickNES
|
||||||
${quickNESExecutable} ${script} --hashOutputFile quickNES.${script}.${mode}.hash ${testerArgs}
|
${quickNESExecutable} ${script} --hashOutputFile ${quickNESHashFile} ${testerArgs}
|
||||||
|
|
||||||
# Comparing hashes
|
# Comparing hashes
|
||||||
quickerNESHash=`cat quickerNES.hash`
|
quickerNESHash=`cat ${quickerNESHashFile}`
|
||||||
|
|
||||||
# Comparing hashes
|
# Comparing hashes
|
||||||
quickNESHash=`cat quickNES.hash`
|
quickNESHash=`cat ${quickNESHashFile}`
|
||||||
|
|
||||||
# Compare hashes
|
# Compare hashes
|
||||||
if [ "${quickerNESHash}" = "${quickNESHash}" ]; then
|
if [ "${quickerNESHash}" = "${quickNESHash}" ]; then
|
||||||
|
|
Loading…
Reference in New Issue