1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

For the sake of poor Xcode, stop after a single failure.

This commit is contained in:
Thomas Harte 2022-06-27 11:10:51 -04:00
parent ef40a81be2
commit 5cb0aebdf4

View File

@ -239,9 +239,9 @@ namespace {
options:0
error:nil];
int testNumber = 1;
int testNumber = 0;
for(NSDictionary *test in tests) {
NSLog(@"Test %d", testNumber);
NSLog(@"Test index %d", testNumber);
++testNumber;
// Apply state.
@ -304,6 +304,10 @@ namespace {
physical,
foundPhysical);
if(physical != foundPhysical) {
NSLog(@"Stopping after first failure");
return;
}
if(physical != physicalEnd) ++physical;
}
}