Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: tools/valgrind/chrome_tests.sh

Issue 1736026: Change PYTHONPATH handling in tools/valgrind so we can un-revert http://coder... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/valgrind/chrome_tests.py ('k') | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Set up some paths and re-direct the arguments to chrome_tests.py 7 # Set up some paths and re-direct the arguments to chrome_tests.py
8 8
9 export THISDIR=`dirname $0` 9 export THISDIR=`dirname $0`
10 10
11 CHROME_VALGRIND=`sh $THISDIR/locate_valgrind.sh` 11 CHROME_VALGRIND=`sh $THISDIR/locate_valgrind.sh`
12 if [ "$CHROME_VALGRIND" = "" ] 12 if [ "$CHROME_VALGRIND" = "" ]
13 then 13 then
14 # locate_valgrind.sh failed 14 # locate_valgrind.sh failed
15 exit 1 15 exit 1
16 fi 16 fi
17 echo "Using valgrind binaries from ${CHROME_VALGRIND}" 17 echo "Using valgrind binaries from ${CHROME_VALGRIND}"
18 18
19 PATH="${CHROME_VALGRIND}/bin:$PATH" 19 PATH="${CHROME_VALGRIND}/bin:$PATH"
20 # We need to set these variables to override default lib paths hard-coded into 20 # We need to set these variables to override default lib paths hard-coded into
21 # Valgrind binary. 21 # Valgrind binary.
22 export VALGRIND_LIB="$CHROME_VALGRIND/lib/valgrind" 22 export VALGRIND_LIB="$CHROME_VALGRIND/lib/valgrind"
23 export VALGRIND_LIB_INNER="$CHROME_VALGRIND/lib/valgrind" 23 export VALGRIND_LIB_INNER="$CHROME_VALGRIND/lib/valgrind"
24 24
25 PYTHONPATH=$THISDIR/../python "$THISDIR/chrome_tests.py" "$@" 25 PYTHONPATH=$THISDIR/../python/google "$THISDIR/chrome_tests.py" "$@"
OLDNEW
« no previous file with comments | « tools/valgrind/chrome_tests.py ('k') | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698