mirror of
https://github.com/rclone/rclone.git
synced 2026-06-19 19:04:02 +02:00
fstest/test_all: rework integration tests to improve output
- Make integration tests use a config file - Output individual logs for each test - Make HTML report and open browser - Optionally email and upload results
This commit is contained in:
@@ -51,9 +51,8 @@ version:
|
||||
# Full suite of integration tests
|
||||
test: rclone
|
||||
go install github.com/ncw/rclone/fstest/test_all
|
||||
-go test -v -count 1 -timeout 20m $(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
|
||||
@echo "Written logs in test.log and fs/test_all.log"
|
||||
-test_all 2>&1 | tee test_all.log
|
||||
@echo "Written logs in test_all.log"
|
||||
|
||||
# Quick test
|
||||
quicktest:
|
||||
|
||||
Reference in New Issue
Block a user