diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/TEX/glossaries.py | 2 | ||||
-rw-r--r-- | test/TEX/glossary.py | 2 | ||||
-rw-r--r-- | test/TEX/nomencl.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/TEX/glossaries.py b/test/TEX/glossaries.py index 2a3ca82..4050189 100644 --- a/test/TEX/glossaries.py +++ b/test/TEX/glossaries.py @@ -37,11 +37,11 @@ import TestSCons test = TestSCons.TestSCons() latex = test.where_is('latex') -gloss = os.system('kpsewhich glossaries.sty') if not latex: test.skip_test("Could not find latex; skipping test(s).\n") +gloss = os.system('kpsewhich glossaries.sty') if not gloss==0: test.skip_test("glossaries.sty not installed; skipping test(s).\n") diff --git a/test/TEX/glossary.py b/test/TEX/glossary.py index 423ffc7..be0a870 100644 --- a/test/TEX/glossary.py +++ b/test/TEX/glossary.py @@ -37,11 +37,11 @@ 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") +gloss = os.system('kpsewhich glossary.sty') if not gloss==0: test.skip_test("glossary.sty not installed; skipping test(s).\n") diff --git a/test/TEX/nomencl.py b/test/TEX/nomencl.py index 2aadeef..93a3c3b 100644 --- a/test/TEX/nomencl.py +++ b/test/TEX/nomencl.py @@ -37,11 +37,11 @@ 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") +nomencl = os.system('kpsewhich nomencl.sty') if not nomencl==0: test.skip_test("nomencl.sty not installed; skipping test(s).\n") |