Skip to content

Do not write TAP output files to source dir#564

Open
jeltz wants to merge 1 commit intopercona:mainfrom
jeltz:meson-mv-tap-result-files
Open

Do not write TAP output files to source dir#564
jeltz wants to merge 1 commit intopercona:mainfrom
jeltz:meson-mv-tap-result-files

Conversation

@jeltz
Copy link
Copy Markdown
Collaborator

@jeltz jeltz commented Apr 8, 2026

Now that we are using Meson it is even more annoying that some of our TAP tests write to t/results, so instead let's write them to testrun/*/results which is in the source director on make and in the build directory on Meson.

And to make it more useful we make sure to output absolute paths on test failure so people easily can use diff.

@Naeem-Akhter @shahidullah79 @mohitj1988: would this change affect the QA workflows?

@jeltz jeltz changed the title PG-2029 Do not write TAP output files to source dir Do not write TAP output files to source dir Apr 8, 2026
Now that we are using Meson it is even more annoying that some of our
TAP tests write to t/results, so instead let's write them to
testrun/*/results which is in the source director on make and in the
build directory on Meson.

And to make it more useful we make sure to output absolute paths on test
failure so people easily can use diff.
@jeltz jeltz force-pushed the meson-mv-tap-result-files branch from 30ed8a0 to 82eb2f0 Compare April 8, 2026 13:16
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.65%. Comparing base (58d1018) to head (82eb2f0).

❌ Your project status has failed because the head coverage (76.24%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #564      +/-   ##
==========================================
- Coverage   57.67%   57.65%   -0.02%     
==========================================
  Files          68       68              
  Lines       10753    10753              
  Branches     2648     2648              
==========================================
- Hits         6202     6200       -2     
- Misses       3281     3285       +4     
+ Partials     1270     1268       -2     
Components Coverage Δ
access 81.95% <ø> (ø)
bin 63.76% <ø> (ø)
catalog 77.60% <ø> (ø)
common 88.23% <ø> (ø)
encryption 57.98% <ø> (ø)
keyring 65.55% <ø> (ø)
src 87.33% <ø> (ø)
smgr 89.54% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants