File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,21 @@ cmake \
100100 -GNinja
101101cmake --build " ${build_dir} /cpp" --target install
102102
103+ if [ " ${ARROW_RUN_TESTS:- } " == " ON" ]; then
104+ # MinIO is required
105+ exclude_tests=" arrow-s3fs-test"
106+ # unstable
107+ exclude_tests=" ${exclude_tests} |arrow-acero-asof-join-node-test"
108+ exclude_tests=" ${exclude_tests} |arrow-acero-hash-join-node-test"
109+ ctest \
110+ --exclude-regex " ${exclude_tests} " \
111+ --label-regex unittest \
112+ --output-on-failure \
113+ --parallel " $( sysctl -n hw.ncpu) " \
114+ --test-dir " ${build_dir} /cpp" \
115+ --timeout 300
116+ fi
117+
103118export JAVA_JNI_CMAKE_ARGS=" -DProtobuf_ROOT=${build_dir} /cpp/protobuf_ep-install"
104119" ${source_dir} /ci/scripts/jni_build.sh" \
105120 " ${source_dir} " \
Original file line number Diff line number Diff line change @@ -120,6 +120,34 @@ cmake \
120120cmake --build " ${build_dir} /cpp"
121121cmake --install " ${build_dir} /cpp"
122122
123+ if [ " ${ARROW_RUN_TESTS:- OFF} " = " ON" ]; then
124+ # MinIO is required
125+ exclude_tests=" arrow-s3fs-test"
126+ case $( arch) in
127+ aarch64)
128+ # GCS testbench is crashed on aarch64:
129+ # ImportError: ../grpc/_cython/cygrpc.cpython-38-aarch64-linux-gnu.so:
130+ # undefined symbol: vtable for std::__cxx11::basic_ostringstream<
131+ # char, std::char_traits<char>, std::allocator<char> >
132+ exclude_tests=" ${exclude_tests} |arrow-gcsfs-test"
133+ ;;
134+ esac
135+ # unstable
136+ exclude_tests=" ${exclude_tests} |arrow-acero-asof-join-node-test"
137+ exclude_tests=" ${exclude_tests} |arrow-acero-hash-join-node-test"
138+ # external dependency
139+ exclude_tests=" ${exclude_tests} |arrow-gcsfs-test"
140+ # strptime
141+ exclude_tests=" ${exclude_tests} |arrow-utility-test"
142+ ctest \
143+ --exclude-regex " ${exclude_tests} " \
144+ --label-regex unittest \
145+ --output-on-failure \
146+ --parallel " $( nproc) " \
147+ --test-dir " ${build_dir} /cpp" \
148+ --timeout 300
149+ fi
150+
123151JAVA_JNI_CMAKE_ARGS=" -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT} /scripts/buildsystems/vcpkg.cmake"
124152JAVA_JNI_CMAKE_ARGS=" ${JAVA_JNI_CMAKE_ARGS} -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} "
125153export JAVA_JNI_CMAKE_ARGS
You can’t perform that action at this time.
0 commit comments