summaryrefslogtreecommitdiffstats
path: root/test/TEX/bibtex-latex-rerun.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEX/bibtex-latex-rerun.py')
-rw-r--r--test/TEX/bibtex-latex-rerun.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/TEX/bibtex-latex-rerun.py b/test/TEX/bibtex-latex-rerun.py
index 2293216..353d9a4 100644
--- a/test/TEX/bibtex-latex-rerun.py
+++ b/test/TEX/bibtex-latex-rerun.py
@@ -36,8 +36,14 @@ import TestSCons
test = TestSCons.TestSCons()
+pdflatex = test.where_is('pdflatex')
+
+if not pdflatex:
+ test.skip_test("Could not find pdflatex; skipping test(s).\n")
+
test.write(['SConstruct'], """\
-PDF( 'bibtest.tex' )
+env = Environment(tools=['pdflatex', 'tex'])
+env.PDF( 'bibtest.tex' )
""")
test.write(['bibtest.tex'], r"""