mirror of
https://github.com/restic/restic.git
synced 2025-08-12 11:07:40 +00:00
Use flag instead of build tag to run integration tests
This commit is contained in:
4
Makefile
4
Makefile
@@ -50,15 +50,15 @@ gox: .gopath $(SOURCE)
|
||||
|
||||
test-integration: .gopath
|
||||
cd $(BASEPATH) && go test $(GOTESTFLAGS) \
|
||||
-tags integration \
|
||||
./backend \
|
||||
-cover -covermode=count -coverprofile=integration-sftp.cov \
|
||||
-test.integration \
|
||||
-test.sftppath=$(SFTP_PATH)
|
||||
|
||||
cd $(BASEPATH) && go test $(GOTESTFLAGS) \
|
||||
-tags integration \
|
||||
./cmd/restic \
|
||||
-cover -covermode=count -coverprofile=integration.cov \
|
||||
-test.integration \
|
||||
-test.datafile=$(PWD)/testsuite/fake-data.tar.gz
|
||||
|
||||
all.cov: .gopath $(SOURCE) test-integration
|
||||
|
Reference in New Issue
Block a user