From b0db08fd2b7f21ae8d3945891a2bd50f43133a41 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 24 Oct 2018 21:33:42 +0100 Subject: [PATCH] fstest/test_all: constrain to go1.10 and above --- fstest/test_all/clean.go | 2 ++ fstest/test_all/config.go | 2 ++ fstest/test_all/report.go | 2 ++ fstest/test_all/run.go | 2 ++ fstest/test_all/test_all.go | 3 +++ 5 files changed, 11 insertions(+) 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