summaryrefslogtreecommitdiffstats
path: root/test/DVIPDF
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/DVIPDF
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/DVIPDF')
-rw-r--r--test/DVIPDF/makeindex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DVIPDF/makeindex.py b/test/DVIPDF/makeindex.py
index b4ac2d0..bb44d27 100644
--- a/test/DVIPDF/makeindex.py
+++ b/test/DVIPDF/makeindex.py
@@ -32,15 +32,15 @@ test = TestSCons.TestSCons()
dvipdf = test.where_is('dvipdf')
if not dvipdf:
- test.skip_test('Could not find dvipdf; skipping test(s).\n')
+ test.skip_test("Could not find 'dvipdf'; skipping test(s).\n")
tex = test.where_is('tex')
if not tex:
- test.skip_test('Could not find tex; skipping test(s).\n')
+ test.skip_test("Could not find 'tex'; skipping test(s).\n")
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")