25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

23 satır
471 B

  1. // Copyright 2017 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package ipv6
  5. import (
  6. "fmt"
  7. "os"
  8. "testing"
  9. )
  10. var disableTests = false
  11. func TestMain(m *testing.M) {
  12. if disableTests {
  13. fmt.Fprintf(os.Stderr, "ipv6 tests disabled in Go 1.9 until netreflect is fixed (Issue 19051)\n")
  14. os.Exit(0)
  15. }
  16. // call flag.Parse() here if TestMain uses flags
  17. os.Exit(m.Run())
  18. }