Skip to content

Fix test target coverage and add single-test runners#58

Merged
seanwevans merged 1 commit into
mainfrom
codex/fix-failing-tests
May 20, 2026
Merged

Fix test target coverage and add single-test runners#58
seanwevans merged 1 commit into
mainfrom
codex/fix-failing-tests

Conversation

@seanwevans
Copy link
Copy Markdown
Owner

Motivation

  • test/sql/search_path_qualification_test.sql was present in the manifest but not included in the default core test list, causing inconsistent default coverage.
  • The test-triage documentation documents focused single-test targets but the Makefile lacked test-one/test-one-verbose, making local triage harder.

Description

  • Added test/sql/search_path_qualification_test.sql to the CORE_TESTS list so it runs as part of the default make test flow.
  • Added test-one and test-one-verbose Make targets that run a single SQL test file using pg_prove and include usage guards when TEST is unset.
  • Updated .PHONY to include the new targets and placed the new targets in the Makefile after the existing test-all target.

Testing

  • Ran pytest -q, which reported that no pytest tests exist in this repository (no tests ran).
  • Attempted make test, which could not run the SQL test harness in this environment due to a missing PGXS include file at /usr/lib/postgresql/16/lib/pgxs/src/makefiles/pgxs.mk, so pg_prove-based tests were not executed here.

Codex Task

@seanwevans seanwevans merged commit e52b5ed into main May 20, 2026
1 of 2 checks passed
@seanwevans seanwevans deleted the codex/fix-failing-tests branch May 20, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant