summaryrefslogtreecommitdiffstats
path: root/test/Java/DerivedSourceTest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/DerivedSourceTest.py')
-rw-r--r--test/Java/DerivedSourceTest.py4
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'],
"""