1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Corrects so as not to test header. Both Zexall and Zexdoc pass.

This commit is contained in:
Thomas Harte 2020-02-27 22:09:56 -05:00
parent 01faffd5bf
commit a3569d7201
2 changed files with 6 additions and 6 deletions

View File

@ -23,9 +23,9 @@
</BuildActionEntries> </BuildActionEntries>
</BuildAction> </BuildAction>
<TestAction <TestAction
buildConfiguration = "Debug" buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
shouldUseLaunchSchemeArgsEnv = "YES" shouldUseLaunchSchemeArgsEnv = "YES"
disableMainThreadChecker = "YES" disableMainThreadChecker = "YES"
codeCoverageEnabled = "YES"> codeCoverageEnabled = "YES">
@ -67,7 +67,7 @@
</Testables> </Testables>
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Release" buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableASanStackUseAfterReturn = "YES" enableASanStackUseAfterReturn = "YES"

View File

@ -58,7 +58,6 @@ class ZexallTests: XCTestCase, CSTestMachineTrapHandler {
} }
let targetOutput = let targetOutput =
"Z80doc instruction exerciser\n\r" +
"<adc,sbc> hl,<bc,de,hl,sp>.... OK\n\r" + "<adc,sbc> hl,<bc,de,hl,sp>.... OK\n\r" +
"add hl,<bc,de,hl,sp>.......... OK\n\r" + "add hl,<bc,de,hl,sp>.......... OK\n\r" +
"add ix,<bc,de,ix,sp>.......... OK\n\r" + "add ix,<bc,de,ix,sp>.......... OK\n\r" +
@ -127,7 +126,8 @@ class ZexallTests: XCTestCase, CSTestMachineTrapHandler {
"ld (<ix,iy>+1),a.............. OK\n\r" + "ld (<ix,iy>+1),a.............. OK\n\r" +
"ld (<bc,de>),a................ OK\n\r" + "ld (<bc,de>),a................ OK\n\r" +
"Tests complete\n\r" "Tests complete\n\r"
XCTAssertEqual(targetOutput, output); let successRange = output.range(of: targetOutput)
XCTAssertNotEqual(successRange, nil, output);
} }
} }
} }