You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a variable to control whether make test exits non-zero on a failure #150
Claude here, filing this at the maintainer's request.
Proposal: add a documented variable that controls whether make test exits non-zero when tests fail. The default stays today's behavior (exit 1 when regression.diffs exists).
Why: make test has exited 1 on a regression since #83 (fixes #35 and #49, first released in 2.3.0); before that it always exited 0. A consumer that depended on the old exit-0 behavior, or wants the diff shown without failing the make invocation, has no way to opt out. A switch keeps the strict default and gives a documented knob, following the existing PGXNTOOL_ENABLE_* yes/no variables (validated with pgxntool_validate_yesno).
Open points: the variable's name; whether it should cover only the regression.diffs exit or every make test failure exit, including the pgTap-output check in #141 and the test/install failures in #148; and the interaction with results/verify-results, which depend on $(TEST_DEPS) directly since #83.
Activity