File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ Status TestClientBasicAuthHandler::GetToken(std::string* token) {
454454Status GetTestResourceRoot (std::string* out) {
455455 const char * c_root = std::getenv (" ARROW_TEST_DATA" );
456456 if (!c_root) {
457- return Status::IOError (" Test resources not found, set ARROW_TEST_DATA" );
457+ return Status::IOError (" Test resources not found, set ARROW_TEST_DATA to <repo root>/testing/data " );
458458 }
459459 *out = std::string (c_root);
460460 return Status::OK ();
Original file line number Diff line number Diff line change @@ -637,6 +637,10 @@ test_linux_wheels() {
637637
638638test_macos_wheels () {
639639 local py_arches=" 2.7m 3.5m 3.6m 3.7m 3.8"
640+ if [ ! -d " arrow-testing" ]; then
641+ git clone https://github.com/apache/arrow-testing.git
642+ fi
643+ export ARROW_TEST_DATA=$PWD /arrow-testing/data
640644
641645 for py_arch in ${py_arches} ; do
642646 local env=_verify_wheel-${py_arch}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def resource_root():
6060 """Get the path to the test resources directory."""
6161 if not os .environ .get ("ARROW_TEST_DATA" ):
6262 raise RuntimeError ("Test resources not found; set "
63- "ARROW_TEST_DATA to <repo root>/testing" )
63+ "ARROW_TEST_DATA to <repo root>/testing/data " )
6464 return pathlib .Path (os .environ ["ARROW_TEST_DATA" ]) / "flight"
6565
6666
You can’t perform that action at this time.
0 commit comments