mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
testy: test utility functions
This commit is contained in:
15
fstest/testy/testy.go
Normal file
15
fstest/testy/testy.go
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// Package testy contains test utilities for rclone
|
||||||
|
package testy
|
||||||
|
|
||||||
|
import (
|
||||||
|
"os"
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
// SkipUnreliable skips this test if running on CI
|
||||||
|
func SkipUnreliable(t *testing.T) {
|
||||||
|
if os.Getenv("CI") == "" {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
t.Skip("Skipping Unreliable Test on CI")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user