Skip to content

Try to make the Windows Docbook tests pass#4697

Merged
bdbaddog merged 2 commits intoSCons:masterfrom
mwichmann:fix/win-docbook
Mar 12, 2025
Merged

Try to make the Windows Docbook tests pass#4697
bdbaddog merged 2 commits intoSCons:masterfrom
mwichmann:fix/win-docbook

Conversation

@mwichmann
Copy link
Collaborator

@mwichmann mwichmann commented Mar 12, 2025

Try to fix Windows fails on Docbook tests in case xsltproc is found. On both GitHub Actions and AppVeyor, it's found as part of StrawberryPerl, which is part of the default install. Intermittent fails seem caused by network issues (whether actual problems, or forced revectoring to https not supported by xsltproc according to some internet issue reports), so propagate two xsltproc flags for this that were in three of the "live" (named "cmd" here) tests, but not the others. Also made other parts of the setup of these tests more consistent (passing found xsltproc wasn't always done)

Note we don't 100% know why these 1-3 tests started failing, it's not due to an SCons change, might be due to a change to xsltproc in Strawberry, but it's not a brand-new version. However the cleanup doesn't seem like a terrible idea anyway.

Except for minor reformatting in the docbook tool, this is test only changes.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

@mwichmann mwichmann added the testsuite Things that only affect the SCons testing. Do not use just because a PR has tests. label Mar 12, 2025
Try to fix Windows fails on Docbook tests in case xsltproc is found.
On both GitHub Actions and AppVeyor, it's found as part of StrawberryPerl,
which is part of the default install. Intermittent fails seem caused by
network issues (whether actual problems, or forced revectoring to https
not supported by xsltproc according to some internet issue reports), so
propagate two xsltproc flags for this that were in three of the "live"
(named "cmd" here) tests, but not the others. Also made other parts of
the setup of these tests more consistent (passing found xsltproc
wasn't done)

Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann changed the title Exp: try to make the Windows Docbook tests better Try to make the Windows Docbook tests better Mar 12, 2025
Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann changed the title Try to make the Windows Docbook tests better Try to make the Windows Docbook tests pass Mar 12, 2025
@bdbaddog bdbaddog merged commit acb109b into SCons:master Mar 12, 2025
6 of 8 checks passed
@mwichmann mwichmann added this to the 4.9.1 milestone Mar 13, 2025
@mwichmann mwichmann deleted the fix/win-docbook branch March 13, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsuite Things that only affect the SCons testing. Do not use just because a PR has tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants