summaryrefslogtreecommitdiffstats
path: root/tools/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'tools/valgrind')
-rwxr-xr-xtools/valgrind/chrome_tests.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/valgrind/chrome_tests.bat b/tools/valgrind/chrome_tests.bat
index 138bec7..9fb9b2c 100755
--- a/tools/valgrind/chrome_tests.bat
+++ b/tools/valgrind/chrome_tests.bat
@@ -3,7 +3,8 @@
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
-:: TODO(timurrrr): batch files 'export' all the variables to the parent shell
+setlocal
+
set THISDIR=%~dp0
set TOOL_NAME="unknown"
@@ -32,7 +33,6 @@ echo "Unknown tool: `%TOOL_NAME%`! Only tsan and drmemory are supported right no
exit /B 1
:SETUP_DRMEMORY
-if NOT "%DRMEMORY_COMMAND%"=="" GOTO :RUN_TESTS
:: Set up DRMEMORY_COMMAND to invoke Dr. Memory {{{1
set DRMEMORY_PATH=%THISDIR%..\..\third_party\drmemory
set DRMEMORY_SFX=%DRMEMORY_PATH%\drmemory-windows-sfx.exe