aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2021-08-17 10:10:41 +0200
committerGitHub <noreply@github.com>2021-08-17 10:10:41 +0200
commitd47745a86b00fe1122d8ebd5e17601aa1b7552b2 (patch)
tree9c354102be959c59cd8681f2284dcef7883f8f59 /test
parent8c94ce8d142cca5ec0aeab81dc27a145d6557049 (diff)
downloadsyncthing-d47745a86b00fe1122d8ebd5e17601aa1b7552b2.tar.gz
syncthing-d47745a86b00fe1122d8ebd5e17601aa1b7552b2.zip
all: Update build constraints to Go 1.17 style (#7894)
Diffstat (limited to 'test')
-rw-r--r--test/cli_test.go1
-rw-r--r--test/conflict_test.go1
-rw-r--r--test/delay_scan_test.go1
-rw-r--r--test/filetype_test.go1
-rw-r--r--test/http_test.go1
-rw-r--r--test/ignore_test.go1
-rw-r--r--test/manypeers_test.go1
-rw-r--r--test/override_test.go1
-rw-r--r--test/parallell_scan_test.go1
-rw-r--r--test/reconnect_test.go1
-rw-r--r--test/reset_test.go1
-rw-r--r--test/scan_test.go1
-rw-r--r--test/symlink_test.go1
-rw-r--r--test/sync_test.go1
-rw-r--r--test/transfer-bench_test.go1
-rw-r--r--test/usage_unix.go1
-rw-r--r--test/usage_windows.go1
-rw-r--r--test/util.go1
18 files changed, 18 insertions, 0 deletions
diff --git a/test/cli_test.go b/test/cli_test.go
index 495bf9f8a..f8e783893 100644
--- a/test/cli_test.go
+++ b/test/cli_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/conflict_test.go b/test/conflict_test.go
index bc4ae1f2f..c163dbb56 100644
--- a/test/conflict_test.go
+++ b/test/conflict_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/delay_scan_test.go b/test/delay_scan_test.go
index 2b907a7a9..8b451c982 100644
--- a/test/delay_scan_test.go
+++ b/test/delay_scan_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/filetype_test.go b/test/filetype_test.go
index caf6fc646..a6e4987a8 100644
--- a/test/filetype_test.go
+++ b/test/filetype_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/http_test.go b/test/http_test.go
index 53d1124a7..a00bdb7d2 100644
--- a/test/http_test.go
+++ b/test/http_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/ignore_test.go b/test/ignore_test.go
index 8adb5b449..5022026c0 100644
--- a/test/ignore_test.go
+++ b/test/ignore_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/manypeers_test.go b/test/manypeers_test.go
index 5cbd31efc..0e65f81f0 100644
--- a/test/manypeers_test.go
+++ b/test/manypeers_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/override_test.go b/test/override_test.go
index 68b09725f..a4af61bf5 100644
--- a/test/override_test.go
+++ b/test/override_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/parallell_scan_test.go b/test/parallell_scan_test.go
index 8bfa3684f..e3f35f2b7 100644
--- a/test/parallell_scan_test.go
+++ b/test/parallell_scan_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/reconnect_test.go b/test/reconnect_test.go
index d2557ba99..b002f084e 100644
--- a/test/reconnect_test.go
+++ b/test/reconnect_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/reset_test.go b/test/reset_test.go
index aa5aa6c2a..1e781c7e3 100644
--- a/test/reset_test.go
+++ b/test/reset_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/scan_test.go b/test/scan_test.go
index e2ebbb6da..32ad81b9f 100644
--- a/test/scan_test.go
+++ b/test/scan_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/symlink_test.go b/test/symlink_test.go
index 423c421d6..87cf2ac26 100644
--- a/test/symlink_test.go
+++ b/test/symlink_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/sync_test.go b/test/sync_test.go
index 686ab67c8..0029c7c10 100644
--- a/test/sync_test.go
+++ b/test/sync_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration
diff --git a/test/transfer-bench_test.go b/test/transfer-bench_test.go
index 70e26a722..29a9e5095 100644
--- a/test/transfer-bench_test.go
+++ b/test/transfer-bench_test.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration && benchmark
// +build integration,benchmark
package integration
diff --git a/test/usage_unix.go b/test/usage_unix.go
index 87b3e1bcc..a0dc157ec 100644
--- a/test/usage_unix.go
+++ b/test/usage_unix.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
+//go:build integration && benchmark && !windows
// +build integration,benchmark,!windows
package integration
diff --git a/test/usage_windows.go b/test/usage_windows.go
index 52e24baac..883473960 100644
--- a/test/usage_windows.go
+++ b/test/usage_windows.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
+//go:build integration && benchmark && windows
// +build integration,benchmark,windows
package integration
diff --git a/test/util.go b/test/util.go
index 5612cdf07..38b00a5a7 100644
--- a/test/util.go
+++ b/test/util.go
@@ -4,6 +4,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
+//go:build integration
// +build integration
package integration