[tests] make sure we delete infer-out at the start of the reactive test

Summary:
If we don't delete infer-out then it gets polluted with files from previous
versions of infer resulting in segfaults during `make test`.

Reviewed By: cristianoc

Differential Revision: D4397723

fbshipit-source-id: 1211d40
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 9174db02d8
commit 4bf4ba1c59

@ -22,7 +22,7 @@ include $(TESTS_DIR)/clang.make
infer-out/report.json: $(CLANG_DEPS) $(SOURCES) $(HEADERS)
$(call silent_on_success,\
$(INFER_BIN) $(INFER_OPTIONS) -a capture --reactive --continue -- \
$(INFER_BIN) $(INFER_OPTIONS) -a capture -- \
clang $(CLANG_OPTIONS) $(SOURCES1))
$(call silent_on_success,\
$(INFER_BIN) $(INFER_OPTIONS) -a capture --reactive --continue -- \

Loading…
Cancel
Save