diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-05-27 16:23:07 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-05-27 16:23:07 (GMT) |
commit | 69ec58de81fae315449b1f6f425526977a7a2699 (patch) | |
tree | ca998ac50af37d743b93c29d45b6896a11a658a9 /test | |
parent | 36b4b48f3cd64669db48fb3966ecc1066e2a7f57 (diff) | |
parent | 1938d8a3bdab97e9229fe439fb57a26f0e93dad3 (diff) | |
download | SCons-69ec58de81fae315449b1f6f425526977a7a2699.zip SCons-69ec58de81fae315449b1f6f425526977a7a2699.tar.gz SCons-69ec58de81fae315449b1f6f425526977a7a2699.tar.bz2 |
Merged in mortoray/scons (pull request #22)
Diffstat (limited to 'test')
-rw-r--r-- | test/TEX/clean.py | 5 | ||||
-rw-r--r-- | test/TEX/lstinputlisting.py | 5 | ||||
-rw-r--r-- | test/TEX/multibib.py | 4 |
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']) |