mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-20 06:03:20 +00:00
Implement a "make check" target that will run the unit tests
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
|
||||
#import "SOGoTestRunner.h"
|
||||
|
||||
#define EXPECTED_FAILURES 3
|
||||
|
||||
@implementation SOGoTestRunner
|
||||
|
||||
+ (SOGoTestRunner *) testRunner
|
||||
@@ -89,7 +91,7 @@
|
||||
[allTestClasses autorelease];
|
||||
[self autorelease];
|
||||
|
||||
return rc;
|
||||
return (failuresCount + errorsCount != EXPECTED_FAILURES);
|
||||
}
|
||||
|
||||
- (void) incrementTestCounter: (SOGoTestFailureCode) failureCode
|
||||
|
||||
Reference in New Issue
Block a user