summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/chrome_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/valgrind/chrome_tests.sh')
-rwxr-xr-xtools/valgrind/chrome_tests.sh34
1 files changed, 1 insertions, 33 deletions
diff --git a/tools/valgrind/chrome_tests.sh b/tools/valgrind/chrome_tests.sh
index df5e8e7..479138e 100755
--- a/tools/valgrind/chrome_tests.sh
+++ b/tools/valgrind/chrome_tests.sh
@@ -9,11 +9,10 @@
export THISDIR=`dirname $0`
ARGV_COPY="$@"
-# We need to set CHROME_VALGRIND iff using Memcheck or TSan-Valgrind:
+# We need to set CHROME_VALGRIND iff using Memcheck:
# tools/valgrind/chrome_tests.sh --tool memcheck
# or
# tools/valgrind/chrome_tests.sh --tool=memcheck
-# (same for "--tool=tsan")
tool="memcheck" # Default to memcheck.
while (( "$#" ))
do
@@ -35,14 +34,6 @@ case "$tool" in
"memcheck")
NEEDS_VALGRIND=1
;;
- "tsan" | "tsan_rv")
- if [ "`uname -s`" == CYGWIN* ]
- then
- NEEDS_PIN=1
- else
- NEEDS_VALGRIND=1
- fi
- ;;
"drmemory" | "drmemory_light" | "drmemory_full" | "drmemory_pattern")
NEEDS_DRMEMORY=1
;;
@@ -95,28 +86,5 @@ then
fi
fi
-if [ "$NEEDS_PIN" == "1" ]
-then
- if [ -z "$PIN_COMMAND" ]
- then
- # Set up PIN_COMMAND to invoke TSan.
- TSAN_PATH="$THISDIR/../../third_party/tsan"
- TSAN_SFX="$TSAN_PATH/tsan-x86-windows-sfx.exe"
- echo "$TSAN_SFX"
- if [ ! -f $TSAN_SFX ]
- then
- echo "Can't find ThreadSanitizer executables."
- echo "See http://www.chromium.org/developers/how-tos/using-valgrind/threadsanitizer/threadsanitizer-on-windows"
- echo "for the instructions on how to get them."
- exit 1
- fi
-
- chmod +x "$TSAN_SFX" # Cygwin won't run it without +x.
- "$TSAN_SFX" -o"$TSAN_PATH"/unpacked -y
- export PIN_COMMAND="$TSAN_PATH/unpacked/tsan-x86-windows/tsan.bat"
- fi
-fi
-
-
PYTHONPATH=$THISDIR/../python/google python \
"$THISDIR/chrome_tests.py" $ARGV_COPY