Skip to content

Commit

Permalink
Makefile: add L3 system tests to env var
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Staretu <[email protected]>
  • Loading branch information
unclejack committed Jul 31, 2017
1 parent a6fbf0c commit d59a29c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ GOFMT_CMD := gofmt -s -l
GOVET_CMD := go tool vet
CI_HOST_TARGETS ?= "host-unit-test host-integ-test host-build-docker-image"
SYSTEM_TESTS_TO_RUN ?= "00SSH|Basic|Network|Policy|TestTrigger|ACIM|Netprofile"
L3_SYSTEM_TESTS_TO_RUN ?= "00SSH|Basic|Network|Policy|TestTrigger|ACIM|Netprofile"

all: build unit-test system-test ubuntu-tests

Expand Down Expand Up @@ -230,7 +231,7 @@ system-test:start
l3-test:
CONTIV_L3=2 CONTIV_NODES=3 make stop start ssh-build
cd $(GOPATH)/src/github.com/contiv/netplugin/scripts/python && PYTHONIOENCODING=utf-8 ./createcfg.py -contiv_l3 2
CONTIV_L3=2 CONTIV_NODES=3 go test -v -timeout 900m ./test/systemtests -check.v -check.abort
CONTIV_L3=2 CONTIV_NODES=3 go test -v -timeout 900m ./test/systemtests -check.v -check.abort -check.f $(L3_SYSTEM_TESTS_TO_RUN)
CONTIV_L3=2 CONTIV_NODES=3 make stop
l3-demo:
CONTIV_L3=1 CONTIV_NODES=3 vagrant up
Expand Down

0 comments on commit d59a29c

Please sign in to comment.