Commits

Rob Managan committed 3771fa3

Fix test for presence of biber and in several tests make variable names consistent with what we are testing the presence of

Comments (0)

Files changed (5)

test/TEX/biber_biblatex.py

     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')

test/TEX/biblatex.py

 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")
 
 

test/TEX/clean.py

 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

test/TEX/lstinputlisting.py

 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'], """\

test/TEX/multibib.py

 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'])