golang/SOURCES/disable_static_tests_part2.patch

14 lines
447 B
Diff
Raw Normal View History

2023-03-28 10:10:39 +00:00
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
2023-09-21 18:42:55 +00:00
index 9f26606..2408505 100644
2023-03-28 10:10:39 +00:00
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
2023-09-21 18:42:55 +00:00
@@ -1259,7 +1259,7 @@ func (t *tester) registerCgoTests() {
2023-03-28 10:10:39 +00:00
} else {
2023-09-21 18:42:55 +00:00
panic("unknown linkmode with static build: " + linkmode)
2023-03-28 10:10:39 +00:00
}
2023-09-21 18:42:55 +00:00
- gt.tags = append(gt.tags, "static")
+ gt.tags = append(gt.tags, "static", "no_openssl")
2023-03-28 10:10:39 +00:00
}
2023-09-21 18:42:55 +00:00
t.registerTest("cgo:"+name, "../misc/cgo/test", gt, opts...)