summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Managan <managan1@llnl.gov>2011-05-30 17:00:09 +0000
committerRobert Managan <managan1@llnl.gov>2011-05-30 17:00:09 +0000
commita4fb746743a6aec306afe06ef16039b7c3f945e5 (patch)
tree1f4b3ff59b424418fb6b990cb93e86b850dbb03e
parent384ccd8cdf461a3b0933d164694d5d696d9437cf (diff)
downloadscons-git-a4fb746743a6aec306afe06ef16039b7c3f945e5.tar.gz
Add check that latex is installed and findable.
If not skip the test.
-rwxr-xr-xtest/TEX/subdir-as-include.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/TEX/subdir-as-include.py b/test/TEX/subdir-as-include.py
index 512048131..b24e7c747 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', """\