aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/distrib/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/distrib/cpp')
-rwxr-xr-xtest/distrib/cpp/run_distrib_test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/distrib/cpp/run_distrib_test.sh b/test/distrib/cpp/run_distrib_test.sh
index bc84b84b8f..cd4158eb5d 100755
--- a/test/distrib/cpp/run_distrib_test.sh
+++ b/test/distrib/cpp/run_distrib_test.sh
@@ -30,9 +30,13 @@
set -ex
-git clone --recursive $EXTERNAL_GIT_ROOT
+git clone $EXTERNAL_GIT_ROOT
cd grpc
+# clone submodules
+git submodule | awk -v EXTERNAL_GIT_ROOT=$EXTERNAL_GIT_ROOT '{ system("git \
+submodule update --init --reference " EXTERNAL_GIT_ROOT$2 " " $2) }'
+
cd third_party/protobuf && ./autogen.sh && \
./configure && make -j4 && make check && make install && ldconfig