aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@users.noreply.github.com>2018-03-26 16:54:32 -0400
committerFeng Xiao <xfxyjwf@gmail.com>2018-03-26 13:54:32 -0700
commit3c5442a95d9608519a76a5db27d21d71dd1137a1 (patch)
tree4dd687999accb76c0bf65fc2178724c5653f1c61 /tests.sh
parent1156ee7ea73b768bc52f1a42dfcc42120291e268 (diff)
downloadprotobuf-3c5442a95d9608519a76a5db27d21d71dd1137a1.tar.gz
protobuf-3c5442a95d9608519a76a5db27d21d71dd1137a1.tar.bz2
protobuf-3c5442a95d9608519a76a5db27d21d71dd1137a1.zip
Include googletest as a submodule (#3993)
Add googletest as a submodule in third_party/googletest.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index fbbfd448..feb90c59 100755
--- a/tests.sh
+++ b/tests.sh
@@ -27,6 +27,9 @@ internal_build_cpp() {
export CXX="g++-4.8" CC="gcc-4.8"
fi
+ # Initialize any submodules.
+ git submodule update --init --recursive
+
./autogen.sh
./configure CXXFLAGS="-fPIC" # -fPIC is needed for python cpp test.
# See python/setup.py for more details
@@ -53,6 +56,8 @@ build_cpp() {
}
build_cpp_distcheck() {
+ # Initialize any submodules.
+ git submodule update --init --recursive
./autogen.sh
./configure
make dist