summaryrefslogtreecommitdiff
path: root/test/TEX
diff options
context:
space:
mode:
authorRobert Managan <ramanagan@att.net>2012-10-13 11:16:29 -0700
committerRobert Managan <ramanagan@att.net>2012-10-13 11:16:29 -0700
commit9ac8844940d555c9773f123a42985c18d881c680 (patch)
tree363537e4a7b4ebc502c41ed9b5a878df94512a0c /test/TEX
parent12cd79860afd5268d9bb7c75bbebb65c4a7d565f (diff)
downloadscons-9ac8844940d555c9773f123a42985c18d881c680.tar.gz
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-xtest/TEX/biber_biblatex.py2
-rwxr-xr-xtest/TEX/biblatex.py4
-rw-r--r--test/TEX/clean.py4
-rw-r--r--test/TEX/lstinputlisting.py4
-rw-r--r--test/TEX/multibib.py4
5 files changed, 9 insertions, 9 deletions
diff --git a/test/TEX/biber_biblatex.py b/test/TEX/biber_biblatex.py
index 94b0a6a2..a63fb3f0 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 a70e103b..a6fbd483 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 9250e4e4..b0e5ee4b 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 66676edd..fcfe5a88 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 a2ae4ec2..cdb9b872 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'])