summaryrefslogtreecommitdiffstats
path: root/test/TEX
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2008-09-10 06:20:34 (GMT)
committerGreg Noel <GregNoel@tigris.org>2008-09-10 06:20:34 (GMT)
commitfb90c8e0ede35a39d13dd21a3521e4a740d8e1f1 (patch)
treead3ebd62320776562fd8e3d2ae213aadafc6ef08 /test/TEX
parent8a58021f70ab5b6b13835ac310a91d4cd0410e5b (diff)
downloadSCons-fb90c8e0ede35a39d13dd21a3521e4a740d8e1f1.zip
SCons-fb90c8e0ede35a39d13dd21a3521e4a740d8e1f1.tar.gz
SCons-fb90c8e0ede35a39d13dd21a3521e4a740d8e1f1.tar.bz2
Fix bugs in regression tests
Diffstat (limited to 'test/TEX')
-rw-r--r--test/TEX/configure.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/TEX/configure.py b/test/TEX/configure.py
index 9a6b80b..23e317c 100644
--- a/test/TEX/configure.py
+++ b/test/TEX/configure.py
@@ -37,6 +37,12 @@ _python_ = TestSCons._python_
test = TestSCons.TestSCons()
+dvips = test.where_is('dvips')
+latex = test.where_is('latex')
+
+if not dvips or not latex:
+ test.skip_test("Could not find dvips or latex; skipping test(s).\n")
+
NCR = test.NCR # non-cached rebuild
#----------------