diff options
author | Robert Managan <ramanagan@att.net> | 2012-10-13 18:16:29 (GMT) |
---|---|---|
committer | Robert Managan <ramanagan@att.net> | 2012-10-13 18:16:29 (GMT) |
commit | 1c207c1d7c9b7b339f5dd2ad772c7c22e600e61b (patch) | |
tree | 363537e4a7b4ebc502c41ed9b5a878df94512a0c /test/TEX | |
parent | 101c5aa6e19f7498e0723515d3274e4be6bed20a (diff) | |
download | SCons-1c207c1d7c9b7b339f5dd2ad772c7c22e600e61b.zip SCons-1c207c1d7c9b7b339f5dd2ad772c7c22e600e61b.tar.gz SCons-1c207c1d7c9b7b339f5dd2ad772c7c22e600e61b.tar.bz2 |
Fix test for presence of biber and in several tests make variable names consistent with what we are testing the presence of
Diffstat (limited to 'test/TEX')
-rwxr-xr-x | test/TEX/biber_biblatex.py | 2 | ||||
-rwxr-xr-x | test/TEX/biblatex.py | 4 | ||||
-rw-r--r-- | test/TEX/clean.py | 4 | ||||
-rw-r--r-- | test/TEX/lstinputlisting.py | 4 | ||||
-rw-r--r-- | test/TEX/multibib.py | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/test/TEX/biber_biblatex.py b/test/TEX/biber_biblatex.py index 94b0a6a..a63fb3f 100755 --- a/test/TEX/biber_biblatex.py +++ b/test/TEX/biber_biblatex.py @@ -40,7 +40,7 @@ if not latex: test.skip_test("Could not find 'pdflatex'; skipping test.\n") biber = test.where_is('biber') -if not latex: +if not biber: test.skip_test("Could not find 'biber'; skipping test.\n") gloss = os.system('kpsewhich biblatex.sty') diff --git a/test/TEX/biblatex.py b/test/TEX/biblatex.py index a70e103..a6fbd48 100755 --- a/test/TEX/biblatex.py +++ b/test/TEX/biblatex.py @@ -39,8 +39,8 @@ latex = test.where_is('pdflatex') if not latex: test.skip_test("Could not find 'pdflatex'; skipping test.\n") -gloss = os.system('kpsewhich biblatex.sty') -if not gloss==0: +biblatex = os.system('kpsewhich biblatex.sty') +if not biblatex==0: test.skip_test("biblatex.sty not installed; skipping test(s).\n") diff --git a/test/TEX/clean.py b/test/TEX/clean.py index 9250e4e..b0e5ee4 100644 --- a/test/TEX/clean.py +++ b/test/TEX/clean.py @@ -38,8 +38,8 @@ 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: +comment = os.system('kpsewhich comment.sty') +if not comment==0: test.skip_test("comment.sty not installed; skipping test(s).\n") # package hyperref generates foo.out diff --git a/test/TEX/lstinputlisting.py b/test/TEX/lstinputlisting.py index 66676ed..fcfe5a8 100644 --- a/test/TEX/lstinputlisting.py +++ b/test/TEX/lstinputlisting.py @@ -41,8 +41,8 @@ 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: +listings = os.system('kpsewhich listings.sty') +if not listings==0: test.skip_test("listings.sty not installed; skipping test(s).\n") test.write(['SConstruct'], """\ diff --git a/test/TEX/multibib.py b/test/TEX/multibib.py index a2ae4ec..cdb9b87 100644 --- a/test/TEX/multibib.py +++ b/test/TEX/multibib.py @@ -39,8 +39,8 @@ 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: +multibib = os.system('kpsewhich multibib.sty') +if not multibib==0: test.skip_test("multibib.sty not installed; skipping test(s).\n") test.subdir(['src']) |