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:
parent
d499f8244b
commit
9c7bcfea6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue