]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testsanitizer: don't run msan tests if msan doesn't work
authorIan Lance Taylor <iant@golang.org>
Fri, 16 Dec 2016 00:57:59 +0000 (16:57 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 16 Dec 2016 01:45:03 +0000 (01:45 +0000)
commit115e9cac8033163a6edfdce6b28a9be21475bed5
treec2d7ccf8a04353cbe0451887616715ba3f229358
parent29cb72154d3bb3530d8092cc89d35b3ed4f7e9c5
misc/cgo/testsanitizer: don't run msan tests if msan doesn't work

Confirm that a trivial executable can build and execute using
-fsanitize=memory.

Fixes #18335 (by skipping the tests when they don't work).

Change-Id: Icb7a276ba7b57ea3ce31be36f74352cc68dc89d5
Reviewed-on: https://go-review.googlesource.com/34505
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
misc/cgo/testsanitizers/test.bash