From a4fb746743a6aec306afe06ef16039b7c3f945e5 Mon Sep 17 00:00:00 2001 From: Robert Managan Date: Mon, 30 May 2011 17:00:09 +0000 Subject: Add check that latex is installed and findable. If not skip the test. --- test/TEX/subdir-as-include.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/TEX/subdir-as-include.py b/test/TEX/subdir-as-include.py index 5120481..b24e7c7 100755 --- a/test/TEX/subdir-as-include.py +++ b/test/TEX/subdir-as-include.py @@ -40,6 +40,10 @@ _exe = TestSCons._exe test = TestSCons.TestSCons() +latex = test.where_is('latex') +if not latex: + test.skip_test("Could not find 'latex'; skipping test.\n") + test.subdir('inc') test.write('SConstruct', """\ -- cgit v0.12