mirror of
https://github.com/golang/go
synced 2024-11-20 06:44:40 -07:00
c61d86af72
Racy tests do not fail currently, they do os.Exit(0). So if you run go test without -v, you won't even notice. This was probably introduced with testing.TestMain. Racy programs do not have the right to finish successfully. Change-Id: Id133d7424f03d90d438bc3478528683dd02b8846 Reviewed-on: https://go-review.googlesource.com/4371 Reviewed-by: Russ Cox <rsc@golang.org> |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
output_test.go | ||
race_darwin_amd64.syso | ||
race_freebsd_amd64.syso | ||
race_linux_amd64.syso | ||
race_test.go | ||
race_unix_test.go | ||
race_windows_amd64.syso | ||
race.go | ||
README |
runtime/race package contains the data race detector runtime library. It is based on ThreadSanitizer race detector, that is currently a part of the LLVM project. To update the .syso files you need to: $ svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk $ cd compiler-rt/lib/tsan/go $ ./buildgo.sh Tested with gcc 4.6.1 and 4.7.0. On Windows it's built with 64-bit MinGW. Current runtime is built on rev 229396.