1. Alexey Petruchik
  2. SCons

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

  • Participants
  • Parent commits f461304
  • Branches default

Comments (0)

Files changed (5)

File test/TEX/biber_biblatex.py

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

File test/TEX/biblatex.py

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

File test/TEX/clean.py

View file
 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

File test/TEX/lstinputlisting.py

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

File test/TEX/multibib.py

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