Don't skip objc tests on unknown versions of xcode

Reviewed By: dulmarod

Differential Revision: D3138614

fb-gh-sync-id: 6e82a2c
fbshipit-source-id: 6e82a2c
master
Andrzej Kotulski 9 years ago committed by Facebook Github Bot 7
parent cb45e38f7f
commit 19bc559440

@ -76,7 +76,6 @@ public class BlockTest {
public void whenCaptureRunOnBlockReleaseThenDotFilesAreTheSame()
throws InterruptedException, IOException, InferException {
Assume.assumeTrue(InferRunner.runsSupportedXCode());
String block_src =
"infer/tests/codetoanalyze/objc/frontend/block/block_release.m";

@ -36,7 +36,6 @@ public class NSAssertTest {
public void whenCaptureRunOnPropertyThenDotFilesAreTheSame()
throws InterruptedException, IOException, InferException {
Assume.assumeTrue(InferRunner.runsSupportedXCode());
String src = "infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.m";
String dotty = "infer/tests/codetoanalyze/objc/frontend/assertions/NSAssert_example.dot";

@ -58,8 +58,6 @@ public class InferRunner {
private static final String IPHONESIMULATOR_ISYSROOT_SUFFIX =
"/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
private static final String CURRENT_XCODE_VERSION = "Xcode 7.0";
private static HashMap<String, InferResults> inferResultsMap =
new HashMap<String, InferResults>();
@ -88,10 +86,6 @@ public class InferRunner {
return line;
}
public static boolean runsSupportedXCode() throws IOException, InterruptedException {
return InferRunner.getXCodeVersion().equals(CURRENT_XCODE_VERSION);
}
private static ImmutableList<String> createInferJavaCommand(
TemporaryFolder folder,
ImmutableList<String> sourceFiles,

Loading…
Cancel
Save