diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-01-17 22:02:32 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-01-17 22:02:32 (GMT) |
commit | 87d2714f989ab8082dc5bd4111c9d5212e81b1a9 (patch) | |
tree | bfc61a737c90e8aad39f42348b9c8bb3ef227138 /test/DVIPS | |
parent | 49bb971fdcb7c54c5044f5854de3c177a6f41d1f (diff) | |
download | SCons-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.py | 3 | ||||
-rw-r--r-- | test/DVIPS/DVIPSFLAGS.py | 3 |
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') |