summaryrefslogtreecommitdiffstats
path: root/test/TEX/glossary.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-01-24 01:26:46 (GMT)
committerMats Wichmann <mats@linux.com>2020-01-11 18:21:26 (GMT)
commit3247b7e825c78eae110651d363d0bfd36d0e1081 (patch)
treeb95c00a31d54071053fd1ec582ee138cfe1c39a6 /test/TEX/glossary.py
parent9340ef85fea770d01d416ac2dbc2f4991a67e027 (diff)
downloadSCons-3247b7e825c78eae110651d363d0bfd36d0e1081.zip
SCons-3247b7e825c78eae110651d363d0bfd36d0e1081.tar.gz
SCons-3247b7e825c78eae110651d363d0bfd36d0e1081.tar.bz2
Align way TeX and related tool names reported by tests
Two concrete changes: DVIPS/DVIPS test ran only if dvips tool is found, but did not leave any message if not. Print a skip message if tool not found, which also lets us dedent the rest of the test for the case where we continue due to having found it. TEX/variant_dir test did not check for dvipdf tool, but then calls the tool. Add a check so we get a skip message instead of a fail (the fail had lots of lines but it hard to see actual reason). Fix one test which failed for me due to not checking for its tool. For the rest, align "Could not find" messages to quote the tool name, which most of the tests do - so this is just stylistic, has no functional effect. Also stylistic: use any/all for checking multiple tools' existence. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/TEX/glossary.py')
-rw-r--r--test/TEX/glossary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEX/glossary.py b/test/TEX/glossary.py
index 0becb40..ef13ca1 100644
--- a/test/TEX/glossary.py
+++ b/test/TEX/glossary.py
@@ -39,7 +39,7 @@ test = TestSCons.TestSCons()
latex = test.where_is('latex')
if not latex:
- test.skip_test("Could not find latex; skipping test(s).\n")
+ test.skip_test("Could not find 'latex'; skipping test(s).\n")
gloss = os.system('kpsewhich glossary.sty')
if not gloss==0: