Skip to content

[Python] Skip test_gdb.py tests if PyArrow was built with non-debug build #46728

Description

@dinse

Describe the enhancement requested

#12253 allowed test_gdb to skip if Arrow C++ had a non-debug build. If C++ was built debug and PYARROW_BUILD_TYPE=debug is not set, PyArrow builds in release. pytest then attempts the full test_gdb suite because pa.cpp_build_info.build_type is 'debug'. All but a few gdb tests then fail.

I think the gdb tests should skip in that scenario. If this change in behavior is agreed upon, I have a change that implements it prepared.

Component(s)

Python

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions