Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions integration/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,13 @@ def file_to_stream(self, file_path, stream_path):

class CPPTester(Tester):

BUILD_PATH = os.path.join(ARROW_HOME, 'cpp/test-build/debug')
CPP_INTEGRATION_EXE = os.environ.get(
'ARROW_CPP_TESTER', os.path.join(BUILD_PATH, 'json-integration-test'))
arrow_cpp_tester = 'ARROW_CPP_TESTER'
if arrow_cpp_tester in os.environ:
CPP_INTEGRATION_EXE = os.environ.get(arrow_cpp_tester)
BUILD_PATH = os.path.dirname(CPP_INTEGRATION_EXE)
else:
BUILD_PATH = os.path.join(ARROW_HOME, 'cpp/test-build/debug')
CPP_INTEGRATION_EXE = os.path.join(BUILD_PATH, 'json-integration-test')

STREAM_TO_FILE = os.environ.get(
'ARROW_CPP_STREAM_TO_FILE',
Expand Down