diff --git a/Tests/SUInstallerTest.m b/Tests/SUInstallerTest.m index ceee0b6c..8b73abe3 100644 --- a/Tests/SUInstallerTest.m +++ b/Tests/SUInstallerTest.m @@ -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 diff --git a/Tests/SUPipedUnarchiverTest.m b/Tests/SUPipedUnarchiverTest.m index 5bb163b4..eb5c7c0b 100644 --- a/Tests/SUPipedUnarchiverTest.m +++ b/Tests/SUPipedUnarchiverTest.m @@ -11,6 +11,7 @@ #import "SUUnarchiver.h" #import "SUPipedUnarchiver.h" +#if __clang_major__ >= 6 @interface SUPipedUnarchiverTest : XCTestCase @property (nonatomic, strong) XCTestExpectation *unarchived; @@ -78,3 +79,4 @@ } @end +#endif