aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorYilun Chong <yilunchong@google.com>2017-12-12 12:05:29 -0800
committerYilun Chong <yilunchong@google.com>2017-12-12 12:05:29 -0800
commit5e732e35c1aea3a00903aae50f63cf1cf9166833 (patch)
tree4244785ac739109bdc4c5a211f243d66e81eed6a /tests.sh
parent9021f623e1420f513268a01a5ad43a23618a84ba (diff)
downloadprotobuf-5e732e35c1aea3a00903aae50f63cf1cf9166833.tar.gz
protobuf-5e732e35c1aea3a00903aae50f63cf1cf9166833.tar.bz2
protobuf-5e732e35c1aea3a00903aae50f63cf1cf9166833.zip
Add caliper supported to java benchmark
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests.sh b/tests.sh
index 0a91e4ce..2a0d203b 100755
--- a/tests.sh
+++ b/tests.sh
@@ -44,10 +44,7 @@ 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.
- git submodule init
- git submodule update
- cd third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make && cd ../..
- cd benchmarks && make cpp-benchmark && cd ..
+ cd benchmarks && ./initialize_submodule.sh cpp && make cpp-benchmark && cd ..
else
echo ""
echo "WARNING: Skipping validation of the bench marking code, cmake isn't installed."