aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorYilun Chong <yilunchong@google.com>2017-12-13 14:34:52 -0800
committerYilun Chong <yilunchong@google.com>2017-12-13 14:34:52 -0800
commit34843eddfe65686a86d12780d1ca709a997d83ad (patch)
tree670a2ed6cd727a214a4f59147c10ce2ee9c375a6 /tests.sh
parent5e732e35c1aea3a00903aae50f63cf1cf9166833 (diff)
downloadprotobuf-34843eddfe65686a86d12780d1ca709a997d83ad.tar.gz
protobuf-34843eddfe65686a86d12780d1ca709a997d83ad.tar.bz2
protobuf-34843eddfe65686a86d12780d1ca709a997d83ad.zip
Fix bugs
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 2a0d203b..0a91e4ce 100755
--- a/tests.sh
+++ b/tests.sh
@@ -44,7 +44,10 @@ build_cpp() {
# appears to be missing it: https://github.com/travis-ci/travis-ci/issues/6996
if [[ $(type cmake 2>/dev/null) ]]; then
# Verify benchmarking code can build successfully.
- cd benchmarks && ./initialize_submodule.sh cpp && make cpp-benchmark && cd ..
+ git submodule init
+ git submodule update
+ cd third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make && cd ../..
+ cd benchmarks && make cpp-benchmark && cd ..
else
echo ""
echo "WARNING: Skipping validation of the bench marking code, cmake isn't installed."