Guard some test cases for use on Xcode 6+ only.

This commit is contained in:
Jake Petroules committed 2015-07-09 17:38:14 -07:00
1 parent fb9b4a4f35
commit 83f6dd3052
2 files changed
+4

No files matched your search

+2
View File
@@ -30,6 +30,7 @@
[super tearDown];
}
#if __clang_major__ >= 6
- (void)testInstallIfRoot
{
uid_t uid = getuid();
@@ -61,5 +62,6 @@
[self waitForExpectationsWithTimeout:40 handler:nil];
[fm removeItemAtPath:expectedDestination error:nil];
}
#endif
@end
+2
View File
@@ -11,6 +11,7 @@
#import "SUUnarchiver.h"
#import "SUPipedUnarchiver.h"
#if __clang_major__ >= 6
@interface SUPipedUnarchiverTest : XCTestCase <SUUnarchiverDelegate>
@property (nonatomic, strong) XCTestExpectation *unarchived;
@@ -78,3 +79,4 @@
}
@end
#endif