diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 10:38:13 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 10:38:13 +0000 |
commit | 9fb3f019c74a386bdb802ad31904816a6e07f2f6 (patch) | |
tree | abd0615a86d80e17bd206577f1f28832cd5ca806 /tools | |
parent | 1e8e765e76578341934e7285afa6b4e12b4f8c6e (diff) | |
download | chromium_src-9fb3f019c74a386bdb802ad31904816a6e07f2f6.zip chromium_src-9fb3f019c74a386bdb802ad31904816a6e07f2f6.tar.gz chromium_src-9fb3f019c74a386bdb802ad31904816a6e07f2f6.tar.bz2 |
Make locate_valgrind.sh find Valgrind binaries on Snow Leopard.
TBR=timurrrr
Review URL: http://codereview.chromium.org/2815014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/valgrind/locate_valgrind.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/valgrind/locate_valgrind.sh b/tools/valgrind/locate_valgrind.sh index 1f9a86f..ce19fb8 100755 --- a/tools/valgrind/locate_valgrind.sh +++ b/tools/valgrind/locate_valgrind.sh @@ -26,6 +26,9 @@ then # Didn't test other kernels. PLATFORM="mac" ;; + *Darwin*10.[0-9].[0-9]*i386*) + PLATFORM="mac_10.6" + ;; *) echo "Unknown platform:" >&2 uname -a >&2 @@ -40,7 +43,7 @@ then CHROME_VALGRIND="$THISDIR/../../third_party/valgrind/$PLATFORM" # TODO(timurrrr): readlink -f is not present on Mac... - if [ "$PLATFORM" != "mac" ] + if [ "$PLATFORM" != "mac" ] && [ "$PLATFORM" != "mac_10.6" ] then # Get rid of all "../" dirs CHROME_VALGRIND=`readlink -f $CHROME_VALGRIND` |