diff --git a/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme b/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme index ffcbbd1c6..95b31a9ca 100644 --- a/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme +++ b/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme @@ -26,6 +26,8 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + enableAddressSanitizer = "YES" + enableUBSanitizer = "YES" codeCoverageEnabled = "YES" shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm b/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm index 95fb23c2d..80fdc95a4 100644 --- a/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm +++ b/OSBindings/Mac/Clock SignalTests/EmuTOSTests.mm @@ -84,7 +84,7 @@ class EmuTOS: public CPU::MC68000::BusHandler { - (void)setUp { // Put setup code here. This method is called before the invocation of each test method in the class. - const auto roms = CSROMFetcher()("AtariST", {"etos192uk.img"}); + const auto roms = CSROMFetcher()("AtariST", {"tos100.img"}); _machine.reset(new EmuTOS(*roms[0])); } @@ -95,7 +95,7 @@ class EmuTOS: public CPU::MC68000::BusHandler { - (void)testExample { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct results. - _machine->run_for(HalfCycles(400)); + _machine->run_for(HalfCycles(4000)); } @end