diff options
author | William Blevins <wblevins@gmail.com> | 2014-07-18 05:33:06 (GMT) |
---|---|---|
committer | William Blevins <wblevins@gmail.com> | 2014-07-18 05:33:06 (GMT) |
commit | c8baceb1525e31f4411249908a8e5c916f2f8a13 (patch) | |
tree | f8fbe7398c5364de3251cbe480f190fa09ba8cf6 /test | |
parent | 40b656483bc892ef47ff4751aef1e43c4449042d (diff) | |
download | SCons-c8baceb1525e31f4411249908a8e5c916f2f8a13.zip SCons-c8baceb1525e31f4411249908a8e5c916f2f8a13.tar.gz SCons-c8baceb1525e31f4411249908a8e5c916f2f8a13.tar.bz2 |
Issue 1771/2931: Added no_result check for tools to validate initial test conditions.
Diffstat (limited to 'test')
-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 5cf4af7..f5ba95c 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'], """ |