Skip to content

Commit

Permalink
address
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <nolouch@gmail.com>
  • Loading branch information
nolouch committed Aug 15, 2023
1 parent 12e0e6f commit 4dd911e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ else
BUILD_CGO_ENABLED := 1
endif

ifeq ($(FAILPOINT), 1)
BUILD_TAGS += with_fail
endif

ifeq ("$(WITH_RACE)", "1")
BUILD_FLAGS += -race
BUILD_CGO_ENABLED := 1
Expand Down Expand Up @@ -75,7 +79,7 @@ pd-server: ${PD_SERVER_DEP}

pd-server-failpoint:
@$(FAILPOINT_ENABLE)
$(MAKE) pd-server BUILD_TAGS="$(BUILD_TAGS) with_fail"
FAILPOINT=1 $(MAKE) pd-server || { $(FAILPOINT_DISABLE); exit 1; }
@$(FAILPOINT_DISABLE)

pd-server-basic:
Expand Down

0 comments on commit 4dd911e

Please sign in to comment.