Source

scons / test / TEX / lstinputlisting.py

Diff from to

File test/TEX/lstinputlisting.py

 """
 
 import TestSCons
+import os
 
 test = TestSCons.TestSCons()
 
 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