1
0
mirror of https://github.com/golang/go synced 2024-11-23 03:40:02 -07:00
go/misc/cgo/testsanitizers
fanzha02 3a3b8164fd cmd/dist: refactor test constraints for misc/cgo/testsantizers
Currently, the cmd/dist runs test cases in misc/cgo/testsantizers only
when memeory sanitizer is supported, but the tsan tests in
misc/cgo/testsanitizers do not require support for -msan option, which
makes tsan tests can not be run on some unsupported -msan option platforms.

Therefore, this patch moves the test constraints from cmd/dist to
msan_test.go, so that the tsan tests in misc/cgo/testsanitizers
can be run on any system where the C compiler supports -fsanitize=thread
option.

Change-Id: I779c92eedd0270050f1a0b1a69ecce50c3712bc9
Reviewed-on: https://go-review.googlesource.com/c/go/+/297774
Trust: fannie zhang <Fannie.Zhang@arm.com>
Run-TryBot: fannie zhang <Fannie.Zhang@arm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-03-11 05:38:13 +00:00
..
testdata cmd/compile, runtime: use __msan_memmove for moving data, split msanread to fields 2020-12-03 15:40:11 +00:00
cc_test.go cmd/dist: refactor test constraints for misc/cgo/testsantizers 2021-03-11 05:38:13 +00:00
cshared_test.go cmd/dist: refactor test constraints for misc/cgo/testsantizers 2021-03-11 05:38:13 +00:00
msan_test.go cmd/dist: refactor test constraints for misc/cgo/testsantizers 2021-03-11 05:38:13 +00:00
tsan_test.go runtime: save/restore callee saved registers in arm64's sigtramp 2019-06-03 19:02:11 +00:00