OLD | NEW |
(Empty) | |
| 1 @echo off |
| 2 :: Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 :: Use of this source code is governed by a BSD-style license that can be |
| 4 :: found in the LICENSE file. |
| 5 |
| 6 set THISDIR=%~dp0 |
| 7 set TOOL_NAME="drmemory_full" |
| 8 |
| 9 :: Set up DRMEMORY_COMMAND to invoke Dr. Memory {{{1 |
| 10 set DRMEMORY_PATH=%THISDIR%.. |
| 11 set DRMEMORY_SFX=%DRMEMORY_PATH%\drmemory-windows-sfx.exe |
| 12 if EXIST %DRMEMORY_SFX% GOTO DRMEMORY_BINARY_OK |
| 13 echo "Can't find Dr. Memory executables." |
| 14 echo "See http://www.chromium.org/developers/how-tos/using-valgrind/dr-memory" |
| 15 echo "for the instructions on how to get them." |
| 16 exit /B 1 |
| 17 |
| 18 :DRMEMORY_BINARY_OK |
| 19 %DRMEMORY_SFX% -o%DRMEMORY_PATH%\unpacked -y |
| 20 set DRMEMORY_COMMAND=%DRMEMORY_PATH%\unpacked\bin\drmemory.exe |
| 21 :: }}} |
| 22 |
| 23 :RUN_TESTS |
| 24 python %THISDIR%/pdfium_tests.py %* |
OLD | NEW |