| 1 |
// Copyright 2012 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 |
|
| 5 |
//go:build cgo |
| 6 |
|
| 7 |
package cgotest |
| 8 |
|
| 9 |
import ( |
| 10 |
"runtime" |
| 11 |
"testing" |
| 12 |
) |
| 13 |
|
| 14 |
func TestSetgid(t *testing.T) { |
| 15 |
if runtime.GOOS == "android" { |
| 16 |
t.Skip("unsupported on Android") |
| 17 |
} |
| 18 |
testSetgid(t) |
| 19 |
} |
| 20 |
|
| 21 |
func TestSetgidStress(t *testing.T) { |
| 22 |
if runtime.GOOS == "android" { |
| 23 |
t.Skip("unsupported on Android") |
| 24 |
} |
| 25 |
testSetgidStress(t) |
| 26 |
} |
| 27 |
|
| 28 |
func Test1435(t *testing.T) { test1435(t) } |
| 29 |
func Test6997(t *testing.T) { test6997(t) } |
| 30 |
func Test9400(t *testing.T) { test9400(t) } |
| 31 |
|
| 32 |
func TestBuildID(t *testing.T) { testBuildID(t) } |