Skip to content

[6.40] Use different output filenames in tests pdftitle.cxx and pdfurl.cxx#22729

Merged
guitargeek merged 1 commit into
root-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_22722
Jun 29, 2026
Merged

[6.40] Use different output filenames in tests pdftitle.cxx and pdfurl.cxx#22729
guitargeek merged 1 commit into
root-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_22722

Conversation

@root-project-bot

Copy link
Copy Markdown

Backport of #22722, requested by @guitargeek. For your information @ellert

This avoids failures when one test overwrites the other's output:

[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TPad
[ RUN      ] TPad.PDFUrl
ROOT::TestSupport::ForbidDiagnostics::handler(): Diagnostic in 'TCanvas::Print':
pdf file output.pdf has been created
ROOT::TestSupport::ForbidDiagnostics::handler(): Diagnostic in 'TCanvas::Print':
Current canvas added to pdf file output.pdf
ROOT::TestSupport::ForbidDiagnostics::handler(): Diagnostic in 'TCanvas::Print':
Current canvas added to pdf file output.pdf
ROOT::TestSupport::ForbidDiagnostics::handler(): Diagnostic in 'TCanvas::Print':
pdf file output.pdf has been closed
/builddir/build/BUILD/root-6.40.02/graf2d/gpad/test/pdfurl.cxx:33: Failure
Expected equality of these values:
  statCode
    Which is: 1
  0
PDF file was not created.
[  FAILED  ] TPad.PDFUrl (373 ms)
[----------] 1 test from TPad (373 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (374 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TPad.PDFUrl
 1 FAILED TEST

(cherry picked from commit 55f5a1b)
@github-actions

Copy link
Copy Markdown

Test Results

    21 files      21 suites   3d 4h 27m 5s ⏱️
 3 858 tests  3 858 ✅ 0 💤 0 ❌
72 704 runs  72 704 ✅ 0 💤 0 ❌

Results for commit 70084ba.

@guitargeek guitargeek merged commit d69ffcb into root-project:v6-40-00-patches Jun 29, 2026
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants