tsan: remove TSAN_OPTIONS from the script

The runtime skips atexit sleep if there are no threads now,
so it must be fast w/o it.
Allows to specify own TSAN_OPTIONS for the tests.

llvm-svn: 170426
This commit is contained in:
Dmitry Vyukov 2012-12-18 12:19:50 +00:00
parent d499f8244b
commit 9c7bcfea6f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ test_file() {
EXE=$SRC.exe
$COMPILER $SRC $CFLAGS -c -o $OBJ
$COMPILER $OBJ $LDFLAGS -o $EXE
RES=$(TSAN_OPTIONS="atexit_sleep_ms=0" $EXE 2>&1 || true)
RES=$($EXE 2>&1 || true)
if [ "$3" != "" ]; then
printf "%s\n" "$RES"
fi