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