Skip to content

Commit

Permalink
[cost] Add .PHONY in cost.make
Browse files Browse the repository at this point in the history
Reviewed By: jberdine

Differential Revision: D22002143

fbshipit-source-id: dd036d5d4
  • Loading branch information
skcho authored and facebook-github-bot committed Jun 12, 2020
1 parent 25825e7 commit 2707ee8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infer/tests/cost.make
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ cost-issues.exp.test$(TEST_SUFFIX): $(INFER_OUT)/report.json $(INFER_BIN) issues

test: cost-test

.PHONY: cost-test
cost-test: cost-issues.exp.test$(TEST_SUFFIX)
$(QUIET)cd $(TESTS_DIR) && \
$(call check_no_diff,$(TEST_REL_DIR)/cost-issues.exp,$(TEST_REL_DIR)/cost-issues.exp.test$(TEST_SUFFIX))


replace: cost-replace

.PHONY: cost-replace
cost-replace: cost-issues.exp.test$(TEST_SUFFIX)
cp $< cost-issues.exp$(TEST_RESULT_SUFFIX)


clean: cost-clean

.PHONY: cost-clean
cost-clean:
$(REMOVE) cost-issues.exp.test$(TEST_SUFFIX)

0 comments on commit 2707ee8

Please sign in to comment.