Skip to content

Add a variable to control whether make test exits non-zero on a failure #150

Open

Description

@jnasbyupgrade

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions