| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…-mode suites The meson build drives a suite with the Oracle-mode pg_regress and the Oracle-mode initdb template when the suite's source directory is under src/oracle_test. That leaves the two Oracle-mode suites that live elsewhere out of meson entirely: the PL/iSQL suite (its registration was commented out with "use make oracle-check") and the ivorysql_ora suite (never registered). It also ties the choice of driver to how the source root is spelled, which a Windows run can get wrong. A suite now says 'oracle': true in its tests entry and is driven as an Oracle-mode suite wherever it lives; the src/oracle_test path rule stays as a fallback. The PL/iSQL suite registers the same list as REGRESS in its Makefile (dblink comes with contrib into the temporary installation), and the ivorysql_ora suite the same list as ORA_REGRESS, with --encoding=UTF8 for the reason the Makefile sets ENCODING. The extension's generated script gets its inputs beside gensql.pl instead of relative to the working directory: meson runs the generator from the build directory, which need not be a child of the source tree, and the merge list and its sql files are declared as dependencies so a change to them regenerates the script. Suites under meson: oracle_regress, oracle_plisql, oracle_ivorysql_ora (each also in the 'oracle' suite).
…ion string The expected output of the autonomous-transaction error case carried the temp instance port inside a dblink connection string, from the context lines of the error; make picks one port, meson another, so the test could only pass under one of them. The call runs under VERBOSITY terse.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configuration
Reviewing files that changed from the base of the PR and between 069766e and fbbddb7. 📒 Files selected for processing (7)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review. 📝 Walkthrough WalkthroughMeson now resolves Oracle SQL-generation inputs relative to the generator script and registers Oracle-mode regression suites. The PL/iSQL Meson suite runs 22 SQL tests, and its autonomous error test uses terse verbosity to avoid variable connection details in expected output. ChangesMeson Oracle regression support
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Merge Risk: ⚪ Minimal · up to fbbdd The Oracle-mode Meson suites appear ready to merge after normal checks. The reported Windows failures remain outside this PR’s stated scope. 🚥 Pre-merge checks | ✅ 5 ✅ Passed checks (5 passed)
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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
|
Thanks for the contribution; the explicit Oracle suite flag, script-relative input paths, and declared SQL dependencies make the Meson integration more complete, while terse error output removes port-dependent regression differences. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What
Three things the meson build was missing for the Oracle-mode test suites:
One test needed a change to pass under meson at all: plisql_autonomous recorded the temp instance's port inside a dblink connection string in its expected output (an error context line); make picks one port and meson another. The call now runs under \set VERBOSITY terse.
Evidence
Linux, meson test --suite setup --suite oracle_setup --suite oracle_regress --suite oracle_plisql --suite oracle_ivorysql_ora on this branch (https://github.com/Muzzammil242/IvorySQL/actions/runs/37850130924):
Windows (MSVC, meson, --num-processes 1), this branch together with #2321 (the MSVC build) and #2332 (the identifier case mode reaching EXEC_BACKEND children), https://github.com/Muzzammil242/IvorySQL/actions/runs/37855437140:
Without #2332 every Oracle-mode test fails on Windows (the suite's database is created as REGRESSION); the thirteen that still fail are platform differences (collation, unicode width in psql, xml, time zone names, file paths), each a small expected-file matter of its own. This PR does not touch them.
Summary by CodeRabbit
Fixes #2334.