From 9c7bcfea6f83cb305953943900155da38c5a321a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 18 Dec 2012 12:19:50 +0000 Subject: [PATCH] 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 --- compiler-rt/lib/tsan/lit_tests/test_output.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/tsan/lit_tests/test_output.sh b/compiler-rt/lib/tsan/lit_tests/test_output.sh index 3798ff0..8c96f60 100755 --- a/compiler-rt/lib/tsan/lit_tests/test_output.sh +++ b/compiler-rt/lib/tsan/lit_tests/test_output.sh @@ -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 -- 2.7.4