diff options
author | William Blevins <wblevins@gmail.com> | 2014-07-18 01:33:06 -0400 |
---|---|---|
committer | William Blevins <wblevins@gmail.com> | 2014-07-18 01:33:06 -0400 |
commit | f0276ef11b551cfa123e8357283fe38a7b3c73db (patch) | |
tree | f8fbe7398c5364de3251cbe480f190fa09ba8cf6 | |
parent | a989c27e9219dcc3402e7153de20b6f3c9f73c7a (diff) | |
download | scons-f0276ef11b551cfa123e8357283fe38a7b3c73db.tar.gz |
Issue 1771/2931: Added no_result check for tools to validate initial test conditions.
-rw-r--r-- | test/Java/DerivedSourceTest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Java/DerivedSourceTest.py b/test/Java/DerivedSourceTest.py index 5cf4af75..f5ba95cb 100644 --- a/test/Java/DerivedSourceTest.py +++ b/test/Java/DerivedSourceTest.py @@ -45,6 +45,10 @@ SCons.Defaults.DefaultEnvironment(tools = []) test = TestSCons.TestSCons() +# No result if tools not available +test.no_result( condition=(test.where_is( 'javac' ) is None) ) +test.no_result( condition=(test.where_is( 'jar' ) is None) ) + test.write( ['Sample.java'], """ |