diff options
Diffstat (limited to 'test/TEX/lstinputlisting.py')
-rw-r--r-- | test/TEX/lstinputlisting.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/TEX/lstinputlisting.py b/test/TEX/lstinputlisting.py index 4a02bca..66676ed 100644 --- a/test/TEX/lstinputlisting.py +++ b/test/TEX/lstinputlisting.py @@ -32,6 +32,7 @@ Thanks to Stefan Hepp for the patch that fixed this. """ import TestSCons +import os test = TestSCons.TestSCons() @@ -40,6 +41,10 @@ pdflatex = test.where_is('pdflatex') if not pdflatex: test.skip_test("Could not find pdflatex; skipping test(s).\n") +gloss = os.system('kpsewhich listings.sty') +if not gloss==0: + test.skip_test("listings.sty not installed; skipping test(s).\n") + test.write(['SConstruct'], """\ import os |