Repository navigation
Test TESTOUT support for test/install and test/build - #110
jnasbyupgrade wants to merge 2 commits into
Conversation
Add tests for pgxntool commit ad8cde4 (`test/install` when `TESTOUT` differs from `TESTDIR`): - `_test-install-output-link` makes `$(TESTOUT)/install` a symlink to `$(TESTDIR)/install`, and fails rather than replace a pre-existing directory there (no Postgres needed) - `make test TESTOUT=<dir>` passes on the template, with results in that directory Both are folded into existing tests in `test-test-install.bats`.
Add tests for pgxntool commit fb1b256 (`test-build` output follows `TESTOUT`): - `make -n test-build TESTOUT=...` passes `--outputdir=<TESTOUT>/build` - `make test TESTOUT=<dir>` leaves test-build output in `<dir>/build/results/`
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
Claude finished @jnasbyupgrade's task in 15s —— View job Review of PR #110I found no blocking issues. The
|
Tests for Postgres-Extensions/pgxntool#145:
make testwith aTESTOUTdifferent fromTESTDIR.test-test-install.bats, in the existing schedule test (no Postgres needed):_test-install-output-linkmakes$(TESTOUT)/installa symlink to$(TESTDIR)/install, and it fails, leaving the directory alone, when a real directory is already at that path.test-test-install.bats, in the existing PG-backed test:make test TESTOUT=<tmpdir>passes on the template, with main-suite results in<tmpdir>/results/(commit 1) and test-build results in<tmpdir>/build/results/(commit 2).test-test-build.bats: amake -ncheck thattest-build's--outputdirfollowsTESTOUT(commit 2).No new helpers, environments or template changes. The second commit pairs with the separable test/build commit in the pgxntool PR. Drop both together if that one is dropped.
Merge the pgxntool PR first: these tests exercise rules that don't exist on pgxntool master yet.