mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
737 B
Diff
23 lines
737 B
Diff
|
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
|
||
|
index c51dcea..8fbec5e 100644
|
||
|
--- a/src/cmd/dist/test.go
|
||
|
+++ b/src/cmd/dist/test.go
|
||
|
@@ -461,17 +461,5 @@ func (t *tester) registerTests() {
|
||
|
})
|
||
|
}
|
||
|
|
||
|
- // Test internal linking of PIE binaries where it is supported.
|
||
|
- if t.goos == "linux" && t.goarch == "amd64" {
|
||
|
- t.tests = append(t.tests, distTest{
|
||
|
- name: "pie_internal",
|
||
|
- heading: "internal linking of -buildmode=pie",
|
||
|
- fn: func(dt *distTest) error {
|
||
|
- t.addCmd(dt, "src", "go", "test", "reflect", "-short", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60), t.tags(), t.runFlag(""))
|
||
|
- return nil
|
||
|
- },
|
||
|
- })
|
||
|
- }
|
||
|
-
|
||
|
// sync tests
|
||
|
t.tests = append(t.tests, distTest{
|
||
|
name: "sync_cpu",
|