Show WARN in integration tests if remote not configured

This commit is contained in:
Nick Craig-Wood 2018-02-02 09:50:58 +00:00
parent 2974efc7d6
commit de35f1c165
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ version:
# Full suite of integration tests
test: rclone
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
@echo "Written logs in test.log and fs/test_all.log"

View File

@ -113,7 +113,7 @@ func TestInit(t *testing.T) {
func skipIfNotOk(t *testing.T) {
if remote == nil {
t.Skip("FS not configured")
t.Skip("WARN: FS not configured")
}
}