From f005df8b582658d54e63d59953201299d6fee880 Mon Sep 17 00:00:00 2001 From: Ayan George Date: Tue, 11 Jan 2022 16:37:46 -0500 Subject: cmd/go: enable fuzz testing for FreeBSD Add "freebsd" to GOOS for which sys.FuzzSupported() returns true and add freebsd to the build tags to fuzz test source. Fixes #46554 Change-Id: I5f695ecc8f09c0ab4279ced23b4715b788fcade0 Reviewed-on: https://go-review.googlesource.com/c/go/+/377855 Trust: Bryan Mills Trust: Katie Hockman Run-TryBot: Katie Hockman TryBot-Result: Gopher Robot Reviewed-by: Katie Hockman --- src/cmd/internal/sys/supported.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd') diff --git a/src/cmd/internal/sys/supported.go b/src/cmd/internal/sys/supported.go index f25aaabddd..82b65511de 100644 --- a/src/cmd/internal/sys/supported.go +++ b/src/cmd/internal/sys/supported.go @@ -50,7 +50,7 @@ func ASanSupported(goos, goarch string) bool { // ('go test -fuzz=.'). func FuzzSupported(goos, goarch string) bool { switch goos { - case "darwin", "linux", "windows": + case "darwin", "freebsd", "linux", "windows": return true default: return false -- cgit v1.3