mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 09:32:08 +00:00
all: use cibuild.On
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
committed by
Josh Bleecher Snyder
parent
b775df0b57
commit
32fd42430b
@@ -16,6 +16,8 @@ import (
|
||||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"tailscale.com/util/cibuild"
|
||||
)
|
||||
|
||||
func TestInQemu(t *testing.T) {
|
||||
@@ -33,7 +35,7 @@ func TestInQemu(t *testing.T) {
|
||||
{"mips64le", "mips64el"},
|
||||
{"386", "386"},
|
||||
}
|
||||
inCI := os.Getenv("CI") == "true"
|
||||
inCI := cibuild.On()
|
||||
for _, arch := range arches {
|
||||
arch := arch
|
||||
t.Run(arch.Goarch, func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user