Skip to content

Add test coverage for print-pgtle target (issue #21) - #73

Draft
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:issue-21-print-pgtle
Draft

Add test coverage for print-pgtle target (issue #21)#73
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:issue-21-print-pgtle

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Summary

Companion tests for pgxntool's new make print-pgtle target (Postgres-Extensions/pgxntool#94).

  • test/sequential/04-pgtle.bats: PGXNTOOL_PGTLE_TARGET_VERSION selects and prints the matching pg_tle/ directory's SQL exactly; an older target version maps to the correct older range; a bare PGTLE_VERSION env var does not leak into the new variable; a regression test proving --no-print-directory is required to avoid GNU Make's Entering directory/Leaving directory stdout pollution on recursive invocation.
  • test/standard/pgtle-install.bats: falls back to the installed pg_tle version when no target version is set; errors cleanly when pg_tle isn't installed and no target version is set.

Companion PR

pgxntool: Postgres-Extensions/pgxntool#94

Test plan

  • Full suite (254/254, 0 failed, 0 skipped) passes.

Companion tests for pgxntool's new `make print-pgtle` target
(Postgres-Extensions/pgxntool@4259313):

- test/sequential/04-pgtle.bats: PGXNTOOL_PGTLE_TARGET_VERSION selects
  and prints the matching pg_tle/ directory's SQL exactly; an older
  target version maps to the correct older range; a bare PGTLE_VERSION
  env var does not leak into the new variable; a regression test
  proving --no-print-directory is required to avoid GNU Make's
  "Entering directory"/"Leaving directory" stdout pollution on
  recursive invocation
- test/standard/pgtle-install.bats: falls back to the installed pg_tle
  version when no target version is set; errors cleanly when pg_tle
  isn't installed and no target version is set

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 1, 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: c81f6316-a568-40ee-bed2-90e8b5ca429f

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.

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