Update gmock links.

The original link is no longer available.

Change-Id: I2976d3f19c8e818689549fb31ff20af8eae92a07
pull/2014/head
Feng Xiao 8 years ago committed by Jisi Liu
parent 1e6dc7d2c3
commit 1760feb621
  1. 13
      autogen.sh

@ -31,10 +31,15 @@ fi
# directory is set up as an SVN external. # directory is set up as an SVN external.
if test ! -e gmock; then if test ! -e gmock; then
echo "Google Mock not present. Fetching gmock-1.7.0 from the web..." echo "Google Mock not present. Fetching gmock-1.7.0 from the web..."
curl $curlopts -O https://googlemock.googlecode.com/files/gmock-1.7.0.zip curl $curlopts -L -O https://github.com/google/googlemock/archive/release-1.7.0.zip
unzip -q gmock-1.7.0.zip unzip -q release-1.7.0.zip
rm gmock-1.7.0.zip rm release-1.7.0.zip
mv gmock-1.7.0 gmock mv googlemock-release-1.7.0 gmock
curl $curlopts -L -O https://github.com/google/googletest/archive/release-1.7.0.zip
unzip -q release-1.7.0.zip
rm release-1.7.0.zip
mv googletest-release-1.7.0 gmock/gtest
fi fi
set -ex set -ex

Loading…
Cancel
Save