diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/DVIPDF.py | 3 | ||||
-rw-r--r-- | test/DVIPDFFLAGS.py | 3 | ||||
-rw-r--r-- | test/F77PATH.py | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/DVIPDF.py b/test/DVIPDF.py index d22cfd8..25856dc 100644 --- a/test/DVIPDF.py +++ b/test/DVIPDF.py @@ -100,8 +100,9 @@ test.fail_test(test.read('test2.pdf') != "This is a .tex test.\n") dvipdf = test.where_is('dvipdf') +tex = test.where_is('tex') -if dvipdf: +if dvipdf and tex: test.write("wrapper.py", """import os import string diff --git a/test/DVIPDFFLAGS.py b/test/DVIPDFFLAGS.py index e6f9146..9962253 100644 --- a/test/DVIPDFFLAGS.py +++ b/test/DVIPDFFLAGS.py @@ -106,8 +106,9 @@ test.fail_test(test.read('test2.pdf') != " -x\nThis is a .tex test.\n") dvipdf = test.where_is('dvipdf') +tex = test.where_is('tex') -if dvipdf: +if dvipdf and tex: test.write("wrapper.py", """import os import string diff --git a/test/F77PATH.py b/test/F77PATH.py index ad38bf1..3dcc280 100644 --- a/test/F77PATH.py +++ b/test/F77PATH.py @@ -42,10 +42,8 @@ args = prog + ' ' + subdir_prog + ' ' + variant_prog test = TestSCons.TestSCons() if not test.where_is('g77'): - print "g77 is not installed on this system." - print "Cannot test F77PATH." - test.no_result(1) - + test.pass_test() + test.subdir('include', 'subdir', ['subdir', 'include'], 'inc2') test.write('SConstruct', """ |