summaryrefslogtreecommitdiff
path: root/test/DVIPDF
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-01-17 14:02:32 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2016-01-17 14:02:32 -0800
commit85f0d35fa2bccdf2a9b301c4e944f862ad934a36 (patch)
treebfc61a737c90e8aad39f42348b9c8bb3ef227138 /test/DVIPDF
parent32aaeefb59c6157b1bba999bb0dd821cc09e170b (diff)
downloadscons-85f0d35fa2bccdf2a9b301c4e944f862ad934a36.tar.gz
changes to skip tests on ubuntu-next when gcj and not real java, and also when no latex is available
Diffstat (limited to 'test/DVIPDF')
-rw-r--r--test/DVIPDF/makeindex.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/DVIPDF/makeindex.py b/test/DVIPDF/makeindex.py
index 22a31be1..b4ac2d04 100644
--- a/test/DVIPDF/makeindex.py
+++ b/test/DVIPDF/makeindex.py
@@ -31,10 +31,17 @@ test = TestSCons.TestSCons()
dvipdf = test.where_is('dvipdf')
+if not dvipdf:
+ 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')
+
+latex = test.where_is('latex')
+if not latex:
+ test.skip_test('Could not find latex; skipping test(s).\n')
-if not dvipdf or not tex:
- test.skip_test('Could not find dvipdf or text; skipping test(s).\n')