Skip to content

Commit 5d9d48c

Browse files
committed
Don't run C++ tests
1 parent aa0c921 commit 5d9d48c

File tree

3 files changed

+1
-44
lines changed

3 files changed

+1
-44
lines changed

ci/scripts/jni_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Darwin)
4444
;;
4545
esac
4646

47-
: "${ARROW_JAVA_BUILD_TESTS:=${ARROW_BUILD_TESTS:-OFF}}"
47+
: "${ARROW_JAVA_BUILD_TESTS:=${ARROW_BUILD_TESTS:-ON}}"
4848
: "${CMAKE_BUILD_TYPE:=release}"
4949
read -ra EXTRA_CMAKE_OPTIONS <<<"${JAVA_JNI_CMAKE_ARGS:-}"
5050
cmake \

ci/scripts/jni_macos_build.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,6 @@ cmake \
100100
-GNinja
101101
cmake --build "${build_dir}/cpp" --target install
102102

103-
if [ "${ARROW_BUILD_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-
118103
export JAVA_JNI_CMAKE_ARGS="-DProtobuf_ROOT=${build_dir}/cpp/protobuf_ep-install"
119104
"${source_dir}/ci/scripts/jni_build.sh" \
120105
"${source_dir}" \

ci/scripts/jni_manylinux_build.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -120,34 +120,6 @@ cmake \
120120
cmake --build "${build_dir}/cpp"
121121
cmake --install "${build_dir}/cpp"
122122

123-
if [ "${ARROW_BUILD_TESTS}" = "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-
151123
JAVA_JNI_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
152124
JAVA_JNI_CMAKE_ARGS="${JAVA_JNI_CMAKE_ARGS} -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET}"
153125
export JAVA_JNI_CMAKE_ARGS

0 commit comments

Comments
 (0)