]> Cypherpunks repositories - gostls13.git/commit
[dev.fuzz] cmd/go: skip fuzz tests on unsupported platforms
authorJay Conrod <jayconrod@google.com>
Tue, 9 Feb 2021 21:09:30 +0000 (16:09 -0500)
committerJay Conrod <jayconrod@google.com>
Wed, 10 Feb 2021 18:20:23 +0000 (18:20 +0000)
commitb60f79385018b41ccd1d0fb717b0bff99d2d3139
treeaf1ad539c1cf06114186a75db3c6bbc8f48bbd2d
parent5ef7357b50015e91b096a4f14f554db78ba18b5f
[dev.fuzz] cmd/go: skip fuzz tests on unsupported platforms

For now, fuzzing is only supported on Darwin, Linux, and Windows. We
haven't testing shared memory communication between coordinator and
worker processes on other platforms. Currently, fuzz.CoordinateFuzzing
and RunFuzzWorker both panic with "unimplemented" messages.

Unfortunately, these may be masked by runtime.Goexit calls that
override panics, so some builders fail with

    test executed panic(nil) or runtime.Goexit

Change-Id: Ic7bd692461958626dd5c5bb31198aec86387bbd6
Reviewed-on: https://go-review.googlesource.com/c/go/+/290810
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
src/cmd/go/testdata/script/test_fuzz.txt
src/cmd/go/testdata/script/test_fuzz_cache.txt
src/cmd/go/testdata/script/test_fuzz_chatty.txt
src/cmd/go/testdata/script/test_fuzz_fuzztime.txt
src/cmd/go/testdata/script/test_fuzz_match.txt
src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt
src/cmd/go/testdata/script/test_fuzz_mutator.txt