exclude c64 specific tests because of roms requirement

This commit is contained in:
Irmen de Jong 2020-02-21 02:15:10 +01:00
parent ec9b80433f
commit 95733df9af
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import razorvine.ksim65.components.Rom
import kotlin.test.*
@Execution(ExecutionMode.CONCURRENT)
@Disabled("requires the C-64 roms to be available - we don't ship them with this code")
class Test6502TestSuiteC64Specific {
val cpu: Cpu6502 = Cpu6502()
@ -19,7 +20,7 @@ class Test6502TestSuiteC64Specific {
val kernalStubs = C64KernalStubs(ram)
init {
val romsPath = determineRomPath()
val romsPath = determineRomPath() // this requires you to have the c64 roms somewhere available
val chargenRom = Rom(0xd000, 0xdfff).also {
val chargenData = romsPath.resolve("chargen").toFile().readBytes()
it.load(chargenData)