[java][tests] Compile with -g to make javac produce more debug info

Summary: Extra info helps in debugging frontend issues and such.

Reviewed By: ngorogiannis

Differential Revision: D23101854

fbshipit-source-id: 27024675d
master
Artem Pianykh 4 years ago committed by Facebook GitHub Bot
parent 7b743ceb1a
commit 16b2b2621d

@ -16,11 +16,13 @@ include $(TESTS_DIR)/infer.make
PROJECT_ROOT ?= $(TESTS_DIR)
JAVAC_FLAGS = -g
$(OBJECTS): $(SOURCES)
$(QUIET)$(JAVAC) -cp $(CLASSPATH) $(SOURCES)
$(QUIET)$(JAVAC) $(JAVAC_FLAGS) -cp $(CLASSPATH) $(SOURCES)
infer-out/report.json: $(JAVA_DEPS) $(SOURCES) $(MAKEFILE_LIST)
$(QUIET)$(call silent_on_success,Testing infer/java in $(TEST_REL_DIR),\
$(INFER_BIN) --project-root $(PROJECT_ROOT) --dump-duplicate-symbols \
$(INFER_OPTIONS) -- \
$(JAVAC) -cp $(CLASSPATH) $(SOURCES))
$(JAVAC) $(JAVAC_FLAGS) -cp $(CLASSPATH) $(SOURCES))

Loading…
Cancel
Save