summaryrefslogtreecommitdiff
path: root/test/DVIPS/DVIPSFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/DVIPS/DVIPSFLAGS.py')
-rw-r--r--test/DVIPS/DVIPSFLAGS.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/DVIPS/DVIPSFLAGS.py b/test/DVIPS/DVIPSFLAGS.py
index 285c7290..4ab1b535 100644
--- a/test/DVIPS/DVIPSFLAGS.py
+++ b/test/DVIPS/DVIPSFLAGS.py
@@ -120,6 +120,9 @@ test.must_match('test3.ps', " -x\nThis is a .ltx test.\n")
test.must_match('test4.ps', " -x\nThis is a .latex test.\n")
+have_latex = test.where_is('latex')
+if not have_latex:
+ test.skip_test('Could not find latex; skipping test(s).\n')
dvips = test.where_is('dvips')