tailscale/net/art/art_test.go
David Anderson 45b5d0983c net/art: fix running tests outside of CI
Updates #7866

Signed-off-by: David Anderson <danderson@tailscale.com>
2023-07-24 13:33:48 -07:00

21 lines
334 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
package art
import (
"os"
"testing"
"tailscale.com/util/cibuild"
)
func TestMain(m *testing.M) {
if cibuild.On() {
// Skip CI on GitHub for now
// TODO: https://github.com/tailscale/tailscale/issues/7866
os.Exit(0)
}
os.Exit(m.Run())
}