Skip to content

Add coverage for installcheck ordering and make test exit status (#79, #49) - #59

Merged
jnasbyupgrade merged 2 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-79-49
Jul 31, 2026
Merged

Add coverage for installcheck ordering and make test exit status (#79, #49)#59
jnasbyupgrade merged 2 commits into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-79-49

Conversation

@jnasbyupgrade

@jnasbyupgrade jnasbyupgrade commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Paired test coverage for Postgres-Extensions/pgxntool#83 (branch fix-79-49), which fixes pgxntool issues #79, #49, and #35:

Rebased on top of the now-merged #65 (make-test/make-results/verify-results consolidation), so this PR's diff is now just the delta: the issue #79 coverage (a make -p-based structural proof that install is genuinely a parsed prerequisite of installcheck, plus a complementary make uninstall && make test behavioral check with an honest caveat that it alone wouldn't have proven anything), the issue #49 assert_failure regression check, and the $(TEST_DEPS)-accurate wiring comments.

Test plan

  • Full suite (test-all) run fresh against this branch + paired pgxntool fix-79-49 branch: 238/238 passed, 0 failed, 0 skipped

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 303e51e0-b481-417b-a73c-fdc0539d935f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jnasbyupgrade
jnasbyupgrade marked this pull request as ready for review July 31, 2026 19:36
jnasbyupgrade added a commit that referenced this pull request Jul 31, 2026
`test`, `results`, and `verify-results` are one tightly-coupled pipeline
-- `results`/`verify-results` only exist to safely update the output
`test` checks against. Per review feedback on
#59, combines
`test/standard/make-test.bats`, `make-results.bats`, and
`test-verify-results.bats` into one file (`make-test.bats` survives, the
other two are deleted), sharing a single foundation-copied environment
instead of three.

Also, deleted 5 dead tests (`test/output`/`test/input` directory handling)
left behind when pgxntool dropped `.source` file support (issues #9/#22)
…stgres-Extensions#49)

Layers on top of the make-test/results/verify-results consolidation
(pgxntool-test#65, merged): adds the issue #79 structural (`make -p`) and
behavioral (`make uninstall && make test`) coverage, the issue Postgres-Extensions#49
`assert_failure` regression check, and the $(TEST_DEPS)-accurate wiring
comments -- all depending on the base.mk fix in the paired pgxntool branch
fix-79-49 (Postgres-Extensions/pgxntool#83).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Separate what's still true today (TEST_DEPS's independent, unordered
prerequisites; Make's lack of an ordering guarantee) from what was only
true before this fix (installcheck having no dependency on install) --
the previous version described the old bug in present tense, reading as
if it were still current behavior.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jnasbyupgrade
jnasbyupgrade merged commit 7eaddb7 into Postgres-Extensions:master Jul 31, 2026
10 checks passed
@jnasbyupgrade
jnasbyupgrade deleted the fix-79-49 branch July 31, 2026 21:56
jnasbyupgrade added a commit to Postgres-Extensions/pgxntool that referenced this pull request Jul 31, 2026
…ssions (#83)

`installcheck` now has an explicit `install` prerequisite, so a
fresh/uninstalled tree (e.g. CI) can't run pg_regress before the
extension exists. 

Paired test coverage: Postgres-Extensions/pgxntool-test#59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant