kou commented on code in PR #38177:
URL: https://github.com/apache/arrow/pull/38177#discussion_r1353678642
##########
dev/release/verify-release-candidate.sh:
##########
@@ -649,15 +651,17 @@ test_and_install_cpp() {
export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL:-${NPROC}}
cmake --build . --target install
- # Explicitly set site-package directory, otherwise the C++ tests are unable
- # to load numpy in a python virtualenv
- local pythonpath=$(python -c "import site; print(site.getsitepackages()[0])")
-
- LD_LIBRARY_PATH=$PWD/release:$LD_LIBRARY_PATH PYTHONPATH=$pythonpath ctest \
- --label-regex unittest \
- --output-on-failure \
- --parallel $NPROC \
- --timeout 300
+ if [ ${TEST_CPP} -gt 0 ]; then
Review Comment:
Ah, we can do it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]