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:
parent
ef40a81be2
commit
5cb0aebdf4
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user