Skip to content

Conversation

@imediava-doctolib
Copy link
Contributor

@imediava-doctolib imediava-doctolib commented Nov 27, 2025

A regress-standard approach for dealing with version specific expectations (issue #27 ). Based on:

The second selection mechanism for variant comparison files is much more automatic: it simply uses the “best match” among several supplied comparison files. The regression test driver script considers both the standard comparison file for a test, testname.out, and variant files named testname_digit.out (where the digit is any single digit 0-9). If any such file is an exact match, the test is considered to pass; otherwise, the one that generates the shortest diff is used to create the failure report. (If resultmap includes an entry for the particular test, then the base testname is the substitute name given in resultmap.)

From: https://www.postgresql.org/docs/current/regress-variant.html

EQuincerot
EQuincerot previously approved these changes Nov 27, 2025
Copy link
Member

@EQuincerot EQuincerot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@EQuincerot EQuincerot dismissed their stale review November 27, 2025 15:09

Forgot the contributing.md

@EQuincerot
Copy link
Member

Could you just update the CONTRIBUTING.md accordingly?

@imediava-doctolib
Copy link
Contributor Author

Could you just update the CONTRIBUTING.md accordingly?

Sure !

@EQuincerot EQuincerot merged commit 6fb246b into main Nov 28, 2025
7 checks passed
@EQuincerot EQuincerot deleted the inigo.mediavilla/rely_on_regress_fallback_files branch November 28, 2025 08:38
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.

3 participants