diff options
author | Robert Managan <managan1@llnl.gov> | 2011-05-30 17:00:09 +0000 |
---|---|---|
committer | Robert Managan <managan1@llnl.gov> | 2011-05-30 17:00:09 +0000 |
commit | e2b59b07a1681147d5ca75d87af613be6f1ce844 (patch) | |
tree | 1f4b3ff59b424418fb6b990cb93e86b850dbb03e | |
parent | d26c0e55791b250b74ace3abb936bce4443e4c54 (diff) | |
download | scons-e2b59b07a1681147d5ca75d87af613be6f1ce844.tar.gz |
Add check that latex is installed and findable.
If not skip the test.
-rwxr-xr-x | test/TEX/subdir-as-include.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/TEX/subdir-as-include.py b/test/TEX/subdir-as-include.py index 51204813..b24e7c74 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', """\ |