Skip to content

cmd/go: enable fuzz testing on OpenBSD #60520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/internal/fuzz/counters_supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (darwin || linux || windows || freebsd) && (amd64 || arm64)
//go:build (darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64)

package fuzz

Expand Down
2 changes: 1 addition & 1 deletion src/internal/fuzz/counters_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// If you update this constraint, also update internal/platform.FuzzInstrumeted.
//
//go:build !((darwin || linux || windows || freebsd) && (amd64 || arm64))
//go:build !((darwin || linux || windows || freebsd || openbsd) && (amd64 || arm64))

package fuzz

Expand Down
2 changes: 1 addition & 1 deletion src/internal/fuzz/minimize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build darwin || freebsd || linux || windows
//go:build darwin || freebsd || linux || openbsd || windows

package fuzz

Expand Down
2 changes: 1 addition & 1 deletion src/internal/fuzz/sys_posix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build darwin || freebsd || linux
//go:build darwin || freebsd || linux || openbsd

package fuzz

Expand Down
2 changes: 1 addition & 1 deletion src/internal/fuzz/sys_unimplemented.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// If you update this constraint, also update internal/platform.FuzzSupported.
//
//go:build !darwin && !freebsd && !linux && !windows
//go:build !darwin && !freebsd && !linux && !openbsd && !windows

package fuzz

Expand Down
2 changes: 1 addition & 1 deletion src/internal/platform/supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func ASanSupported(goos, goarch string) bool {
// ('go test -fuzz=.').
func FuzzSupported(goos, goarch string) bool {
switch goos {
case "darwin", "freebsd", "linux", "windows":
case "darwin", "freebsd", "linux", "openbsd", "windows":
return true
default:
return false
Expand Down