1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:40:04 -07:00
go/misc/cgo/testsanitizers
Ian Lance Taylor b63db76c4a testsanitizers: check that tsan program runs, skip tsan10 on gcc
Check not only that a tsan program can be built, but also that it runs.
This fails with some installations of GCC 7.

Skip the tsan10 program when using GCC, as it reportedly hangs.

This is a patch to help people build 1.9; we may be able to do a
better fix for 1.10.

Updates #21196

Change-Id: Icd1ffbd018dc65a97ff45cab1264b9b0c7fa0ab2
Reviewed-on: https://go-review.googlesource.com/52790
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-08-02 18:32:24 +00:00
..
msan2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
msan3.go
msan4.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
msan5.go runtime: add missing race and msan checks to reflect functions 2016-08-23 13:12:15 +00:00
msan_fail.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
msan_shared.go runtime: check for nil g and m in msanread 2017-01-19 23:06:54 +00:00
msan.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
test.bash testsanitizers: check that tsan program runs, skip tsan10 on gcc 2017-08-02 18:32:24 +00:00
tsan2.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
tsan3.go cmd/cgo: mark stub functions as no_sanitize_thread 2016-05-19 17:29:13 +00:00
tsan4.go cmd/cgo, runtime, runtime/cgo: TSAN support for malloc 2016-05-25 23:22:24 +00:00
tsan5.go runtime/cgo: add TSAN acquire/release calls 2016-05-31 20:53:16 +00:00
tsan6.go runtime/cgo: add TSAN locks around mmap call 2016-06-03 18:26:01 +00:00
tsan7.go runtime/cgo: add tsan acquire/release around setenv/unsetenv 2016-08-23 14:07:58 +00:00
tsan8.go runtime/cgo: use libc for sigaction syscalls when possible 2016-11-16 05:38:38 +00:00
tsan9.go runtime: preserve callee-saved C registers in sigtramp 2016-12-15 23:41:06 +00:00
tsan10.go runtime: poll libc to deliver signals under TSAN 2017-03-08 18:58:30 +00:00
tsan11.go runtime: fix _cgo_yield usage with sysmon and on BSD 2017-03-09 18:36:49 +00:00
tsan12.go misc/cgo/testsanitizers: add regression test for change 50251 2017-07-20 18:43:40 +00:00
tsan_shared.go runtime/cgo: return correct sa_flags 2017-03-09 18:53:35 +00:00
tsan.go all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00