Apache DataFusion SQL Query Engine
ARROW-4291: [Dev] Support selecting features in release verification scripts
Uwe L. Korn886074eab7bf
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.shindex 944cabeabd..9ad2b265e5 100755--- a/dev/release/verify-release-candidate.sh+++ b/dev/release/verify-release-candidate.sh@@ -191,6 +191,7 @@ test_and_install_cpp() {pushd cpp/buildARROW_CMAKE_OPTIONS="+${ARROW_CMAKE_OPTIONS}-DCMAKE_INSTALL_PREFIX=$ARROW_HOME-DCMAKE_INSTALL_LIBDIR=lib-DARROW_PLASMA=ON@@ -361,19 +362,55 @@ if [ "$ARTIFACT" == "source" ]; thenTARBALL=apache-arrow-$1.tar.gzDIST_NAME="apache-arrow-${VERSION}"+ # By default test all functionalities.+ # To deactivate one test, deactivate the test and all of its dependents+ # To explicitly select one test, set TEST_DEFAULT=0 TEST_X=1+ : ${TEST_DEFAULT:=1}+ : ${TEST_JAVA:=${TEST_DEFAULT}}+ : ${TEST_CPP:=${TEST_DEFAULT}}+ : ${TEST_GLIB:=${TEST_DEFAULT}}+ : ${TEST_RUBY:=${TEST_DEFAULT}}+ : ${TEST_PYTHON:=${TEST_DEFAULT}}+ : ${TEST_JS:=${TEST_DEFAULT}}+ : ${TEST_INTEGRATION:=${TEST_DEFAULT}}+ : ${TEST_RUST:=${TEST_DEFAULT}}++ # Automatically test if its activated by a dependent+ TEST_GLIB=$((${TEST_GLIB} + ${TEST_RUBY}))+ TEST_PYTHON=$((${TEST_PYTHON} + ${TEST_INTEGRATION}))+ TEST_CPP=$((${TEST_CPP} + ${TEST_GLIB} + ${TEST_PYTHON}))+ TEST_JAVA=$((${TEST_JAVA} + ${TEST_INTEGRATION}))+ TEST_JS=$((${TEST_JS} + ${TEST_INTEGRATION}))+fetch_archive $DIST_NAMEtar xvzf ${DIST_NAME}.tar.gzcd ${DIST_NAME}- test_package_java- setup_miniconda- test_and_install_cpp- test_python- test_glib- test_ruby- test_js- test_integration- test_rust+ if [ ${TEST_JAVA} -gt 0 ]; then+ test_package_java+ fi+ if [ ${TEST_CPP} -gt 0 ]; then+ setup_miniconda+ test_and_install_cpp+ fi+ if [ ${TEST_PYTHON} -gt 0 ]; then+ test_python+ fi+ if [ ${TEST_GLIB} -gt 0 ]; then+ test_glib+ fi+ if [ ${TEST_RUBY} -gt 0 ]; then+ test_ruby+ fi+ if [ ${TEST_JS} -gt 0 ]; then+ test_js+ fi+ if [ ${TEST_INTEGRATION} -gt 0 ]; then+ test_integration+ fi+ if [ ${TEST_RUST} -gt 0 ]; then+ test_rust+ fielse: ${BINTRAY_REPOSITORY:=apache/arrow}