mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
The tests in chk.json now pass.
This commit is contained in:
@@ -156,7 +156,7 @@ struct TestProcessor: public CPU::MC68000Mk2::BusHandler {
|
|||||||
|
|
||||||
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
|
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
|
||||||
_fileSet = [NSSet setWithArray:@[
|
_fileSet = [NSSet setWithArray:@[
|
||||||
@"chk.json",
|
@"divu_divs.json",
|
||||||
|
|
||||||
// Below this line are passing tests.
|
// Below this line are passing tests.
|
||||||
@"abcd_sbcd.json",
|
@"abcd_sbcd.json",
|
||||||
@@ -165,7 +165,8 @@ struct TestProcessor: public CPU::MC68000Mk2::BusHandler {
|
|||||||
@"addq_subq.json",
|
@"addq_subq.json",
|
||||||
@"addx_subx.json",
|
@"addx_subx.json",
|
||||||
@"bcc.json",
|
@"bcc.json",
|
||||||
@"btst_bchg_bclr_bset.json", //
|
@"btst_bchg_bclr_bset.json",
|
||||||
|
@"chk.json",
|
||||||
@"cmp.json",
|
@"cmp.json",
|
||||||
@"dbcc_scc.json",
|
@"dbcc_scc.json",
|
||||||
@"eor_and_or.json",
|
@"eor_and_or.json",
|
||||||
@@ -177,8 +178,8 @@ struct TestProcessor: public CPU::MC68000Mk2::BusHandler {
|
|||||||
@"nbcd.json",
|
@"nbcd.json",
|
||||||
@"ext.json",
|
@"ext.json",
|
||||||
@"swap.json",
|
@"swap.json",
|
||||||
]]; // 18/32 = 56 % done, as far as the tests go.
|
]]; // 19/32 = 59 % done, as far as the tests go.
|
||||||
// _testSet = [NSSet setWithArray:@[@"MOVEM 0067 (5)"]];
|
// _testSet = [NSSet setWithArray:@[@"CHK 4eb9"]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)testAll {
|
- (void)testAll {
|
||||||
@@ -193,7 +194,7 @@ struct TestProcessor: public CPU::MC68000Mk2::BusHandler {
|
|||||||
// NSLog(@"Testing %@", url);
|
// NSLog(@"Testing %@", url);
|
||||||
[self testJSONAtURL:url];
|
[self testJSONAtURL:url];
|
||||||
}
|
}
|
||||||
|
|
||||||
XCTAssert(_failures.count == 0);
|
XCTAssert(_failures.count == 0);
|
||||||
|
|
||||||
// Output a summary of failures, if any.
|
// Output a summary of failures, if any.
|
||||||
|
Reference in New Issue
Block a user