summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/valgrind/locate_valgrind.sh5
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`