You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests within the oracle_test/modules/ directory were omitted. #1323
When I run make oracle-check-world from the project root, the logs show that most modules under src/oracle_test/modules/ are being skipped directly without executing any tests.
After debugging, I found that running make oracle-check in src/oracle_test/modules/ skips tests for most modules, whereas make checkexecutes all of them. However, make oracle-check-world recursively invokes the oracle-check target in that path.
Meanwhile, running make check from the root directory does not scan the modules under src/oracle_test/.
In src/makefiles/pgxs.mk, the oracle-check target (around line 529) only runs regression tests when ORA_REGRESS is defined (ifdef ORA_REGRESS), and similarly uses ORA_ISOLATION. But none of the modules under src/oracle_test/modules/ — nor anywhere else in src/ — define ORA_REGRESS / ORA_ISOLATION (a grep for ORA_REGRESS = / ORA_ISOLATION = finds zero matches). So every PGXS module's oracle-check no-ops its tests, which matches what you observed (while check works because it gates on REGRESS).
Two ways to fix — I'd like your call before proceeding:
A) In pgxs.mk: default ORA_REGRESS ?= $(REGRESS) and ORA_ISOLATION ?= $(ISOLATION) so oracle-check runs each module's existing test list in Oracle mode. One change, fixes every module at once. Risk: some PG-oriented tests may fail under Oracle mode — those would surface as real compatibility gaps to triage separately.
B) Per-module: add ORA_REGRESS = $(REGRESS) only to modules known to pass in Oracle mode. More surgical, no surprise red, but touches many Makefiles.
Happy to implement either (or another approach you prefer). Thanks!
I reproduced the root cause: \oracle-check\ skips PGXS modules that define only \REGRESS\ or \ISOLATION, because it looks exclusively at \ORA_REGRESS\ / \ORA_ISOLATION. I have prepared a minimal fix that falls back to the regular lists only when no Oracle-specific list is supplied, preserving existing explicit Oracle test selections. I will open a PR shortly.
I'll proceed with the centralized pgxs.mk fix so oracle-check inherits each module's existing REGRESS / ISOLATION lists, then run the full src/oracle_test/modules suite and adjust only where Oracle-mode incompatibilities are real.
Validation of the centralized fallback exposed several PostgreSQL-only cases that are not yet compatible with Oracle mode, so the PR follows the existing per-module convention instead: it adds explicit ORA_REGRESS / ORA_ISOLATION lists for the suites verified to pass and uses compatible subsets where needed.
make -C src/oracle_test/modules oracle-check passes with the change.
Activity
123123213weqw commentedon Jul 8, 2026
Hi, I dug into this. Root cause:
In
src/makefiles/pgxs.mk, theoracle-checktarget (around line 529) only runs regression tests whenORA_REGRESSis defined (ifdef ORA_REGRESS), and similarly usesORA_ISOLATION. But none of the modules undersrc/oracle_test/modules/— nor anywhere else insrc/— defineORA_REGRESS/ORA_ISOLATION(a grep forORA_REGRESS =/ORA_ISOLATION =finds zero matches). So every PGXS module'soracle-checkno-ops its tests, which matches what you observed (whilecheckworks because it gates onREGRESS).Two ways to fix — I'd like your call before proceeding:
pgxs.mk: defaultORA_REGRESS ?= $(REGRESS)andORA_ISOLATION ?= $(ISOLATION)sooracle-checkruns each module's existing test list in Oracle mode. One change, fixes every module at once. Risk: some PG-oriented tests may fail under Oracle mode — those would surface as real compatibility gaps to triage separately.ORA_REGRESS = $(REGRESS)only to modules known to pass in Oracle mode. More surgical, no surprise red, but touches many Makefiles.Happy to implement either (or another approach you prefer). Thanks!
neu-hsc commentedon Jul 11, 2026
I reproduced the root cause: \oracle-check\ skips PGXS modules that define only \REGRESS\ or \ISOLATION, because it looks exclusively at \ORA_REGRESS\ / \ORA_ISOLATION. I have prepared a minimal fix that falls back to the regular lists only when no Oracle-specific list is supplied, preserving existing explicit Oracle test selections. I will open a PR shortly.
123123213weqw commentedon Jul 18, 2026
I'll proceed with the centralized
pgxs.mkfix sooracle-checkinherits each module's existingREGRESS/ISOLATIONlists, then run the fullsrc/oracle_test/modulessuite and adjust only where Oracle-mode incompatibilities are real./assign
123123213weqw commentedon Jul 18, 2026
PR opened: #1419
Validation of the centralized fallback exposed several PostgreSQL-only cases that are not yet compatible with Oracle mode, so the PR follows the existing per-module convention instead: it adds explicit
ORA_REGRESS/ORA_ISOLATIONlists for the suites verified to pass and uses compatible subsets where needed.make -C src/oracle_test/modules oracle-checkpasses with the change.