summaryrefslogtreecommitdiffstats
path: root/test/TEX/nomencl.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEX/nomencl.py')
-rw-r--r--test/TEX/nomencl.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/TEX/nomencl.py b/test/TEX/nomencl.py
index 2e7191d..63359f5 100644
--- a/test/TEX/nomencl.py
+++ b/test/TEX/nomencl.py
@@ -37,10 +37,14 @@ import TestSCons
test = TestSCons.TestSCons()
latex = test.where_is('latex')
+nomencl = os.system('kpsewhich nomencl.sty')
if not latex:
test.skip_test("Could not find latex; skipping test(s).\n")
+if not nomencl==0:
+ test.skip_test("nomencl.sty not installed; skipping test(s).\n")
+
test.write('SConstruct', """\
import os
env = Environment(tools = ['pdftex'], ENV = {'PATH' : os.environ['PATH']})