Source

SCons / test / TEX / clean.py

Diff from to

test/TEX/clean.py

 Check that all auxilary files created by LaTeX are properly cleaned by scons -c.
 """
 
+import os
 import TestSCons
 
 test = TestSCons.TestSCons()
 if not latex:
     test.skip_test("Could not find tex or latex; skipping test(s).\n")
 
+gloss = os.system('kpsewhich comment.sty')
+if not gloss==0:
+    test.skip_test("comment.sty not installed; skipping test(s).\n")
+
 # package hyperref generates foo.out
 # package comment generates comment.cut
 # todo: add makeindex etc.