mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01:31:42 +00:00
Disabled attempts at bus activity matching within the FUSE tests, at least until I settle on exactly what I intend to do.
This commit is contained in:
parent
efc7f9df37
commit
0f18768091
@ -218,17 +218,17 @@ class FUSETests: XCTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Compare bus operations.
|
// Compare bus operations.
|
||||||
let capturedBusActivity = machine.busOperationCaptures
|
// let capturedBusActivity = machine.busOperationCaptures
|
||||||
var capturedBusAcivityIndex = 0;
|
// var capturedBusAcivityIndex = 0;
|
||||||
|
|
||||||
// I presently believe the FUSE unit test bus results for DJNZ — opcode 0x10 — to be
|
// I presently believe the FUSE unit test bus results for DJNZ — opcode 0x10 — to be
|
||||||
// in error by omitting the final offset read. Therefore I am skipping that.
|
// in error by omitting the final offset read. Therefore I am skipping that.
|
||||||
// TODO: enquire with the author.
|
// TODO: enquire with the author.
|
||||||
if name == "10" {
|
// if name == "10" {
|
||||||
continue
|
// continue
|
||||||
}
|
// }
|
||||||
|
|
||||||
let desiredBusActivity = outputDictionary["busActivity"] as? [[String: Any]]
|
/* let desiredBusActivity = outputDictionary["busActivity"] as? [[String: Any]]
|
||||||
if let desiredBusActivity = desiredBusActivity {
|
if let desiredBusActivity = desiredBusActivity {
|
||||||
for action in desiredBusActivity {
|
for action in desiredBusActivity {
|
||||||
let type = action["type"] as! String
|
let type = action["type"] as! String
|
||||||
@ -282,7 +282,7 @@ class FUSETests: XCTestCase {
|
|||||||
"Failed bus operation match \(name) (at time \(time) with address \(address), value was \(value != nil ? value! : 0), tracking index \(capturedBusAcivityIndex) amongst \(capturedBusActivity))")
|
"Failed bus operation match \(name) (at time \(time) with address \(address), value was \(value != nil ? value! : 0), tracking index \(capturedBusAcivityIndex) amongst \(capturedBusActivity))")
|
||||||
capturedBusAcivityIndex += 1
|
capturedBusAcivityIndex += 1
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user