summaryrefslogtreecommitdiffstats
path: root/test/DVIPS
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-01-17 22:02:32 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-01-17 22:02:32 (GMT)
commit87d2714f989ab8082dc5bd4111c9d5212e81b1a9 (patch)
treebfc61a737c90e8aad39f42348b9c8bb3ef227138 /test/DVIPS
parent49bb971fdcb7c54c5044f5854de3c177a6f41d1f (diff)
downloadSCons-87d2714f989ab8082dc5bd4111c9d5212e81b1a9.zip
SCons-87d2714f989ab8082dc5bd4111c9d5212e81b1a9.tar.gz
SCons-87d2714f989ab8082dc5bd4111c9d5212e81b1a9.tar.bz2
changes to skip tests on ubuntu-next when gcj and not real java, and also when no latex is available
Diffstat (limited to 'test/DVIPS')
-rw-r--r--test/DVIPS/DVIPS.py3
-rw-r--r--test/DVIPS/DVIPSFLAGS.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/DVIPS/DVIPS.py b/test/DVIPS/DVIPS.py
index e28a121..b243bfc 100644
--- a/test/DVIPS/DVIPS.py
+++ b/test/DVIPS/DVIPS.py
@@ -114,6 +114,9 @@ test.must_match('test3.ps', "This is a .ltx test.\n")
test.must_match('test4.ps', "This 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')
diff --git a/test/DVIPS/DVIPSFLAGS.py b/test/DVIPS/DVIPSFLAGS.py
index 285c729..4ab1b53 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')