Skip to content

Commit

Permalink
fix validate and tests
Browse files Browse the repository at this point in the history
Reviewed By: jvillard

Differential Revision:
D49822045

Privacy Context Container: L1122176

fbshipit-source-id: 53bcc9cd9262306767c1ff217802aa3dc561435f
  • Loading branch information
ngorogiannis authored and facebook-github-bot committed Oct 2, 2023
1 parent 0150fba commit 7ab84fd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,17 @@ ifeq ($(IS_FACEBOOK_TREE),yes)
DIRECT_TESTS += \
c_fb-pulse \
cpp_fb-config-usage \

ifeq ($(BUILD_ERLANG_ANALYZERS),yes)
ifneq ($(ERLC),no)
ifneq ($(ESCRIPT),no)
DIRECT_TESTS += \
erlang_fb-pulse \

endif
endif
endif
endif

ifneq ($(BUCK),no)
BUILD_SYSTEMS_TESTS += \
Expand Down
15 changes: 15 additions & 0 deletions infer/tests/codetoanalyze/erlang/fb-pulse/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

TESTS_DIR = ../../..

INFER_OPTIONS = --pulse-only --debug-exceptions --project-root $(TESTS_DIR) --print-types
INFERPRINT_OPTIONS = --issues-tests

SOURCES = $(wildcard *.erl)

include $(TESTS_DIR)/erlc.make

infer-out/report.json: $(MAKEFILE_LIST)

0 comments on commit 7ab84fd

Please sign in to comment.