Skip to content

Apache DataFusion SQL Query Engine

ARROW-28: Adding google's benchmark library to the toolchain

Micah Kornfield21fd624224ba
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index 4d5bef8bbd..49dcc395fb 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -19,7 +19,7 @@ echo $GTEST_HOME
: ${ARROW_CPP_INSTALL=$TRAVIS_BUILD_DIR/cpp-install}
-cmake -DCMAKE_INSTALL_PREFIX=$ARROW_CPP_INSTALL -DCMAKE_CXX_FLAGS="-Werror" $CPP_DIR
+cmake -DARROW_BUILD_BENCHMARKS=ON -DCMAKE_INSTALL_PREFIX=$ARROW_CPP_INSTALL -DCMAKE_CXX_FLAGS="-Werror" $CPP_DIR
make -j4
make install
diff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.sh
index 3e843dd759..d96b98f8d3 100755
--- a/ci/travis_script_cpp.sh
+++ b/ci/travis_script_cpp.sh
@@ -9,9 +9,9 @@ pushd $CPP_BUILD_DIR
make lint
if [ $TRAVIS_OS_NAME == "linux" ]; then
- valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ctest
+ valgrind --tool=memcheck --leak-check=yes --error-exitcode=1 ctest -L unittest
else
- ctest
+ ctest -L unittest
fi
popd