summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/TEX/clean.py5
-rw-r--r--test/TEX/lstinputlisting.py5
-rw-r--r--test/TEX/multibib.py4
3 files changed, 14 insertions, 0 deletions
diff --git a/test/TEX/clean.py b/test/TEX/clean.py
index 7d17d81..9250e4e 100644
--- a/test/TEX/clean.py
+++ b/test/TEX/clean.py
@@ -28,6 +28,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Check that all auxilary files created by LaTeX are properly cleaned by scons -c.
"""
+import os
import TestSCons
test = TestSCons.TestSCons()
@@ -37,6 +38,10 @@ latex = test.where_is('latex')
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.
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
diff --git a/test/TEX/multibib.py b/test/TEX/multibib.py
index 8486e15..a2ae4ec 100644
--- a/test/TEX/multibib.py
+++ b/test/TEX/multibib.py
@@ -39,6 +39,10 @@ latex = test.where_is('latex')
if not latex:
test.skip_test("Could not find 'latex'; skipping test.\n")
+gloss = os.system('kpsewhich multibib.sty')
+if not gloss==0:
+ test.skip_test("multibib.sty not installed; skipping test(s).\n")
+
test.subdir(['src'])