mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-24 10:56:43 +00:00
GODT-1177: remove Import-Export from repo
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
.PHONY: check-go check-godog install-godog test test-bridge test-ie test-live test-live-bridge test-live-ie test-stage test-debug test-live-debug bench
|
||||
.PHONY: check-go check-godog install-godog test test-bridge test-live test-live-bridge test-stage test-debug test-live-debug bench
|
||||
|
||||
export GO111MODULE=on
|
||||
export BRIDGE_VERSION:=1.8.12+integrationtests
|
||||
export VERBOSITY?=fatal
|
||||
export TEST_DATA=testdata
|
||||
export TEST_APP?=bridge
|
||||
|
||||
# Tests do not run in parallel. This will overrule user settings.
|
||||
MAKEFLAGS=-j1
|
||||
@ -16,23 +15,17 @@ check-godog:
|
||||
install-godog: check-go
|
||||
go get github.com/cucumber/godog/cmd/godog@v0.12.1
|
||||
|
||||
test: test-bridge test-ie
|
||||
test-bridge: FEATURES ?= features/bridge
|
||||
test: test-bridge
|
||||
test-bridge: FEATURES ?= features
|
||||
test-bridge: check-godog
|
||||
TEST_APP=bridge TEST_ENV=fake TEST_ACCOUNTS=accounts/fake.json godog --tags="~@ignore" $(FEATURES)
|
||||
test-ie: FEATURES ?= features/ie
|
||||
test-ie: check-godog
|
||||
TEST_APP=ie TEST_ENV=fake TEST_ACCOUNTS=accounts/fake.json godog --tags="~@ignore" $(FEATURES)
|
||||
TEST_ENV=fake TEST_ACCOUNTS=accounts/fake.json godog --tags="~@ignore" $(FEATURES)
|
||||
|
||||
# Doesn't work in parallel!
|
||||
# Provide TEST_ACCOUNTS with your accounts.
|
||||
test-live: test-live-bridge test-live-ie
|
||||
test-live-bridge: FEATURES ?= features/bridge
|
||||
test-live-bridge: FEATURES ?= features
|
||||
test-live-bridge: check-godog
|
||||
TEST_APP=bridge TEST_ENV=live godog --tags="~@ignore && ~@ignore-live" $(FEATURES)
|
||||
test-live-ie: FEATURES ?= features/ie
|
||||
test-live-ie: check-godog
|
||||
TEST_APP=ie TEST_ENV=live godog --tags="~@ignore && ~@ignore-live" $(FEATURES)
|
||||
TEST_ENV=live godog --tags="~@ignore && ~@ignore-live" $(FEATURES)
|
||||
|
||||
# Doesn't work in parallel!
|
||||
# Provide TEST_ACCOUNTS with your accounts.
|
||||
@ -47,12 +40,6 @@ test-debug:
|
||||
test-live-debug:
|
||||
TEST_ENV=live dlv test -- $(FEATURES)
|
||||
|
||||
test-ie-debug:
|
||||
TEST_APP=ie TEST_ENV=fake TEST_ACCOUNTS=accounts/fake.json dlv test -- $(FEATURES)
|
||||
|
||||
test-live-ie-debug:
|
||||
TEST_APP=ie TEST_ENV=live dlv test -- $(FEATURES)
|
||||
|
||||
# -run flag is not working anyway, but lets keep it there to note we really do not want to run tests.
|
||||
# To properly benchmark sync/fetch, we need everything empty. For that is better to start everything
|
||||
# again and safest way is to run only one loop per run.
|
||||
|
||||
Reference in New Issue
Block a user