]> Cypherpunks repositories - gostls13.git/commit
testsanitizers: check that tsan program runs, skip tsan10 on gcc
authorIan Lance Taylor <iant@golang.org>
Wed, 2 Aug 2017 17:49:20 +0000 (10:49 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 2 Aug 2017 18:32:24 +0000 (18:32 +0000)
commitb63db76c4ae4e154ed40b4ec3c782d7fe9c0d3b6
tree01169db6f97cb63315f2f9d611910a8f2c3b23d4
parent193eda7291c570e84307b3122a4f496a77b0fa4c
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>
misc/cgo/testsanitizers/test.bash