mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
83b6b62c1b
This fixes #5951 and allows the macOS builds to run again See #5960 for more info.
27 lines
631 B
Go
27 lines
631 B
Go
//go:build cmount && cgo && (linux || darwin || freebsd || windows) && (!race || !windows)
|
|
// +build cmount
|
|
// +build cgo
|
|
// +build linux darwin freebsd windows
|
|
// +build !race !windows
|
|
|
|
// FIXME this doesn't work with the race detector under Windows either
|
|
// hanging or producing lots of differences.
|
|
|
|
package cmount
|
|
|
|
import (
|
|
"runtime"
|
|
"testing"
|
|
|
|
"github.com/rclone/rclone/fstest/testy"
|
|
"github.com/rclone/rclone/vfs/vfstest"
|
|
)
|
|
|
|
func TestMount(t *testing.T) {
|
|
// Disable tests under macOS and the CI since they are locking up
|
|
if runtime.GOOS == "darwin" {
|
|
testy.SkipUnreliable(t)
|
|
}
|
|
vfstest.RunTests(t, false, mount)
|
|
}
|