about summary refs log tree commit diff homepage
path: root/scripts/build/testing-utils.sh
blob: 8a85529136370f761ee40ab582bcfa91762d68bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash -x
# Make sure we exit if there is a failure
set -e

DIR="$(cd "$(dirname "$0")" && pwd)"
source "${DIR}/common-defaults.sh"

# The New CMake build system just needs the GTest sources regardless
# of LLVM version.
cd "${BASE}"

wget https://github.com/google/googletest/archive/release-${GTEST_VERSION}.zip
unzip -o release-${GTEST_VERSION}.zip
rm release-${GTEST_VERSION}.zip