Implement a "make check" target that will run the unit tests

This commit is contained in:
Jeroen Dekkers committed 2012-10-19 18:46:46 +02:00
1 parent b744710ee3
commit a632c82b59
5 files changed
+19 -5

No files matched your search

+3 -1
View File
@@ -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