[infer][objc] Run the biabduction test using the checkers analyzer

Reviewed By: sblackshear

Differential Revision: D5922475

fbshipit-source-id: 06c3ae8
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent de162c86ab
commit 3c09ae953d

@ -2364,7 +2364,7 @@ let clang_frontend_do_capture, clang_frontend_do_lint =
match !analyzer with match !analyzer with
| Some Linters | Some Linters
-> (false, true) (* no capture, lint *) -> (false, true) (* no capture, lint *)
| Some BiAbduction | Some BiAbduction | Some Checkers
-> (true, false) (* capture, no lint *) -> (true, false) (* capture, no lint *)
| _ | _
-> (true, true) -> (true, true)

@ -11,14 +11,14 @@ IPHONESIMULATOR_ISYSROOT_SUFFIX = /Platforms/iPhoneSimulator.platform/Developer/
XCODEROOT = $(shell $(XCODE_SELECT) -p) XCODEROOT = $(shell $(XCODE_SELECT) -p)
ANALYZER = infer ANALYZER = checkers
CLANG_OPTIONS = -x objective-c \ CLANG_OPTIONS = -x objective-c \
-isysroot $(XCODEROOT)$(IPHONESIMULATOR_ISYSROOT_SUFFIX) \ -isysroot $(XCODEROOT)$(IPHONESIMULATOR_ISYSROOT_SUFFIX) \
-mios-simulator-version-min=8.2 --target=x86_64-apple-darwin14 -c \ -mios-simulator-version-min=8.2 --target=x86_64-apple-darwin14 -c \
CLEAN_EXTRA = infer-out-arc infer-out-all infer-out-all infer-out-arc \ CLEAN_EXTRA = infer-out-arc infer-out-all infer-out-all infer-out-arc \
issues.exp.test.all issues.exp.test.arc issues.exp.test.default issues.exp.test.all issues.exp.test.arc issues.exp.test.default
INFER_OPTIONS = --dump-duplicate-symbols --no-filtering --debug-exceptions --project-root $(TESTS_DIR) INFER_OPTIONS = --biabduction-only --dump-duplicate-symbols --debug-exceptions --project-root $(TESTS_DIR)
INFERPRINT_OPTIONS = --issues-tests INFERPRINT_OPTIONS = --issues-tests
SOURCES_DEFAULT = \ SOURCES_DEFAULT = \

Loading…
Cancel
Save