Makefile: Fix integration test runner

This commit is contained in:
Nick Craig-Wood 2018-01-16 11:21:12 +00:00
parent 11da2a6c9b
commit 8e83fb6fb9

View file

@ -32,7 +32,7 @@ version:
# Full suite of integration tests # Full suite of integration tests
test: rclone test: rclone
go install github.com/ncw/fstest/test_all go install github.com/ncw/rclone/fstest/test_all
-go test $(BUILDTAGS) $(GO_FILES) 2>&1 | tee test.log -go test $(BUILDTAGS) $(GO_FILES) 2>&1 | tee test.log
-test_all github.com/ncw/rclone/fs/operations github.com/ncw/rclone/fs/sync 2>&1 | tee fs/test_all.log -test_all github.com/ncw/rclone/fs/operations github.com/ncw/rclone/fs/sync 2>&1 | tee fs/test_all.log
@echo "Written logs in test.log and fs/test_all.log" @echo "Written logs in test.log and fs/test_all.log"
@ -95,7 +95,7 @@ clean:
go clean ./... go clean ./...
find . -name \*~ | xargs -r rm -f find . -name \*~ | xargs -r rm -f
rm -rf build docs/public rm -rf build docs/public
rm -f rclone fs/fs.test fs/test_all.log test.log rm -f rclone fs/operations/operations.test fs/sync/sync.test fs/test_all.log test.log
website: website:
cd docs && hugo cd docs && hugo