From 34843eddfe65686a86d12780d1ca709a997d83ad Mon Sep 17 00:00:00 2001 From: Yilun Chong Date: Wed, 13 Dec 2017 14:34:52 -0800 Subject: Fix bugs --- tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests.sh') 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." -- cgit v1.2.3