mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-27 07:06:42 +00:00
build: decouple test2 target from testcommon
This commit is contained in:
parent
7d12adf636
commit
91baa232fb
14
Makefile
14
Makefile
@ -31,12 +31,14 @@ else # "variables.mk" was included. Business as usual until the end of this file
|
||||
##########
|
||||
## Main ##
|
||||
##########
|
||||
.PHONY: all test update clean v1 v2
|
||||
.PHONY: all test update clean v1 v2 test1 test2
|
||||
|
||||
# default target, because it's the first one that doesn't start with '.'
|
||||
all: | v1 v2
|
||||
|
||||
test: | test1 test2
|
||||
test1: | testcommon testwhisper testwaku1
|
||||
test2: | testcommon testwaku2
|
||||
|
||||
v1: | wakunode1 example1 sim1
|
||||
v2: | wakunode2 example2 wakubridge chat2 chat2bridge
|
||||
@ -144,9 +146,9 @@ testcommon: | build deps
|
||||
#############
|
||||
## Waku v2 ##
|
||||
#############
|
||||
.PHONY: test2 wakunode2 example2 sim2 scripts2 wakubridge chat2 chat2bridge
|
||||
.PHONY: testwaku2 wakunode2 example2 sim2 scripts2 wakubridge chat2 chat2bridge
|
||||
|
||||
test2: | build deps librln testcommon
|
||||
testwaku2: | build deps librln
|
||||
echo -e $(BUILD_MSG) "build/$@" && \
|
||||
$(ENV_SCRIPT) nim test2 $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims
|
||||
|
||||
@ -200,13 +202,13 @@ networkmonitor: | build deps
|
||||
#################
|
||||
## Waku legacy ##
|
||||
#################
|
||||
.PHONY: testwhisper test1 wakunode1 example1 sim1
|
||||
.PHONY: testwhisper testwaku1 wakunode1 example1 sim1
|
||||
|
||||
testwhisper: | build deps testcommon
|
||||
testwhisper: | build deps
|
||||
echo -e $(BUILD_MSG) "build/$@" && \
|
||||
$(ENV_SCRIPT) nim testwhisper $(NIM_PARAMS) waku.nims
|
||||
|
||||
test1: | build deps testcommon
|
||||
testwaku1: | build deps
|
||||
echo -e $(BUILD_MSG) "build/$@" && \
|
||||
$(ENV_SCRIPT) nim test1 $(NIM_PARAMS) waku.nims
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user