Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fstest/test_all: constrain to go1.10 and above

Nick Craig-Woodb0db08fd2b7f
diff --git a/fstest/test_all/clean.go b/fstest/test_all/clean.go
index 8ce451bdc..c4a980732 100644
--- a/fstest/test_all/clean.go
+++ b/fstest/test_all/clean.go
@@ -1,5 +1,7 @@
// Clean the left over test files
+// +build go1.10
+
package main
import (
diff --git a/fstest/test_all/config.go b/fstest/test_all/config.go
index 122e4ecb2..8265ce4fc 100644
--- a/fstest/test_all/config.go
+++ b/fstest/test_all/config.go
@@ -1,5 +1,7 @@
// Config handling
+// +build go1.10
+
package main
import (
diff --git a/fstest/test_all/report.go b/fstest/test_all/report.go
index ddc2167c1..5315dc6b5 100644
--- a/fstest/test_all/report.go
+++ b/fstest/test_all/report.go
@@ -1,3 +1,5 @@
+// +build go1.10
+
package main
import (
diff --git a/fstest/test_all/run.go b/fstest/test_all/run.go
index ea7046838..ea10b385d 100644
--- a/fstest/test_all/run.go
+++ b/fstest/test_all/run.go
@@ -1,5 +1,7 @@
// Run a test
+// +build go1.10
+
package main
import (
diff --git a/fstest/test_all/test_all.go b/fstest/test_all/test_all.go
index 64de856a3..2bf7dcbda 100644
--- a/fstest/test_all/test_all.go
+++ b/fstest/test_all/test_all.go
@@ -1,7 +1,10 @@
+// +build go1.10
+
// Run tests for all the remotes. Run this with package names which
// need integration testing.
//
// See the `test` target in the Makefile.
+//
package main
/* FIXME