Add network id to make file

This commit is contained in:
Alexander Ewetumo 2017-10-26 20:03:53 +01:00
parent 61c277cccd
commit f0c992974c
1 changed files with 9 additions and 8 deletions

View File

@ -3,6 +3,7 @@
GOBIN = build/bin
GO ?= latest
networkid ?=
# This is a code for automatic help generator.
# It supports ANSI colors and categories.
@ -145,14 +146,14 @@ test-coverage: ##@tests Run unit and integration tests with covevare
test-e2e: ##@tests Run e2e tests
# order: reliability then alphabetical
# TODO(tiabc): make a single command out of them adding `-p 1` flag.
build/env.sh go test -timeout 5m ./e2e/accounts/...
build/env.sh go test -timeout 5m ./e2e/api/...
build/env.sh go test -timeout 5m ./e2e/node/...
build/env.sh go test -timeout 15m ./e2e/jail/...
build/env.sh go test -timeout 20m ./e2e/rpc/...
build/env.sh go test -timeout 20m ./e2e/whisper/...
build/env.sh go test -timeout 10m ./e2e/transactions/...
build/env.sh go test -timeout 40m ./cmd/statusd
build/env.sh go test -timeout 5m ./e2e/accounts/... -network=$(networkid)
build/env.sh go test -timeout 5m ./e2e/api/... -network=$(networkid)
build/env.sh go test -timeout 5m ./e2e/node/... -network=$(networkid)
build/env.sh go test -timeout 15m ./e2e/jail/... -network=$(networkid)
build/env.sh go test -timeout 20m ./e2e/rpc/... -network=$(networkid)
build/env.sh go test -timeout 20m ./e2e/whisper/... -network=$(networkid)
build/env.sh go test -timeout 10m ./e2e/transactions/... -network=$(networkid)
build/env.sh go test -timeout 40m ./cmd/statusd -network=$(networkid)
ci: mock-install mock test-coverage test-e2e ##@tests Run all tests in CI