summaryrefslogtreecommitdiffstats
path: root/test/Docbook/basic/slidespdf/slidespdf_cmd.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2025-03-12 17:04:44 (GMT)
committerMats Wichmann <mats@linux.com>2025-03-12 17:31:46 (GMT)
commitc9e65f5308caef79a1dc9476d44a25d2faba56ec (patch)
tree1ace18ecd37b7e6c030b9a666dbeaad652c228d8 /test/Docbook/basic/slidespdf/slidespdf_cmd.py
parentcd43bf7e18c30aff7c918f6ce9ee9d9fdbd63324 (diff)
downloadSCons-c9e65f5308caef79a1dc9476d44a25d2faba56ec.zip
SCons-c9e65f5308caef79a1dc9476d44a25d2faba56ec.tar.gz
SCons-c9e65f5308caef79a1dc9476d44a25d2faba56ec.tar.bz2
Exp: try to make the Windows Docbook tests better
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>
Diffstat (limited to 'test/Docbook/basic/slidespdf/slidespdf_cmd.py')
-rw-r--r--test/Docbook/basic/slidespdf/slidespdf_cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Docbook/basic/slidespdf/slidespdf_cmd.py b/test/Docbook/basic/slidespdf/slidespdf_cmd.py
index 4b7bd2c..65e2801 100644
--- a/test/Docbook/basic/slidespdf/slidespdf_cmd.py
+++ b/test/Docbook/basic/slidespdf/slidespdf_cmd.py
@@ -44,12 +44,12 @@ if not fop:
test.dir_fixture('image')
# Normal invocation
-test.run(arguments=['-f','SConstruct.cmd'], stderr=None)
+test.run(arguments=['-f','SConstruct.cmd','DOCBOOK_XSLTPROC=%s'%xsltproc], stderr=None)
test.must_not_be_empty(test.workpath('virt.fo'))
test.must_not_be_empty(test.workpath('virt.pdf'))
# Cleanup
-test.run(arguments=['-f','SConstruct.cmd','-c'], stderr=None)
+test.run(arguments=['-f','SConstruct.cmd','-c','DOCBOOK_XSLTPROC=%s'%xsltproc])
test.must_not_exist(test.workpath('virt.fo'))
test.must_not_exist(test.workpath('virt.pdf'))