mirror of
https://github.com/rclone/rclone.git
synced 2025-01-13 20:38:12 +02:00
Show WARN in integration tests if remote not configured
This commit is contained in:
parent
2974efc7d6
commit
de35f1c165
2
Makefile
2
Makefile
@ -34,7 +34,7 @@ version:
|
|||||||
# Full suite of integration tests
|
# Full suite of integration tests
|
||||||
test: rclone
|
test: rclone
|
||||||
go install github.com/ncw/rclone/fstest/test_all
|
go install github.com/ncw/rclone/fstest/test_all
|
||||||
-go test -count 1 $(BUILDTAGS) $(GO_FILES) 2>&1 | tee test.log
|
-go test -v -count 1 $(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"
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ func TestInit(t *testing.T) {
|
|||||||
|
|
||||||
func skipIfNotOk(t *testing.T) {
|
func skipIfNotOk(t *testing.T) {
|
||||||
if remote == nil {
|
if remote == nil {
|
||||||
t.Skip("FS not configured")
|
t.Skip("WARN: FS not configured")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user