1
0
mirror of https://github.com/irmen/ksim65.git synced 2024-06-15 04:29:31 +00:00

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

View File

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