Repository navigation
Gate the main test suite on test-build; add build-results; require ON_ERROR_STOP in test/install #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gate the main test suite on test-build; add build-results; require ON_ERROR_STOP in test/install #109
Changes from all commits
4916368
c9adf33
ec46fba
e444b08
184e8c1
9b61026
f941b19
08dcfe6
bbc9928
2eb2f92
2996d78
6e5f9f3
49cb57a
43d8dac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,25 @@ None of these are documented anywhere as override points, but if you happened | |
| to reference one directly (unsupported, but possible), update to the new | ||
| name. | ||
|
|
||
| Issues fixed in this release: #87, #21, #55, #90 | ||
| == Add `make build-results` | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Name is confusing; sounds a lot like what
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Claude here: agreed on the name, but flagging before I rename — pgxntool-test's master already merged PR #79's tests (per the earlier Fixes #108/#97 pairing), which call |
||
| Refreshes `test/build/expected/*.out` from the last `test-build` run's | ||
| actual output, mirroring `make results` for the main suite. Refuses to | ||
| bless any file whose actual output contains an `ERROR:` line, since that | ||
| would defeat the point of test-build; skip such a file and bless it by hand | ||
| if the error is intentional. | ||
|
|
||
| == `test/install` now requires `ON_ERROR_STOP` | ||
| `test/install/*.sql` files never get a real diff -- their actual output is | ||
| written to the same file as their expected output, so a content difference | ||
| can never fail the build. Without `ON_ERROR_STOP`, a hard SQL error was | ||
| silently swallowed too, making the file "pass" regardless of what happened. | ||
| `make test` now fails if a `test/install/*.sql` file doesn't set | ||
| `ON_ERROR_STOP` (directly, or via `\i test/pgxntool/psql.sql`); see | ||
| `PGXNTOOL_ENABLE_TEST_INSTALL_ERROR_STOP_CHECK` to disable. Since | ||
| `test/install/*.out` was never really compared against anything, and is | ||
| rewritten by every run, it's now gitignored -- stop committing it. | ||
|
|
||
| Issues fixed in this release: #87, #21, #55, #90, #97, #108 | ||
|
|
||
| 2.3.0 | ||
| ----- | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.