summaryrefslogtreecommitdiffstats
path: root/test/JAVACFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/JAVACFLAGS.py')
-rw-r--r--test/JAVACFLAGS.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/JAVACFLAGS.py b/test/JAVACFLAGS.py
index 1a05e2c..6e02bb6 100644
--- a/test/JAVACFLAGS.py
+++ b/test/JAVACFLAGS.py
@@ -30,6 +30,10 @@ import TestSCons
test = TestSCons.TestSCons()
+if not os.path.exists('/usr/local/j2sdk1.3.1/bin/javac'):
+ print "Could not find Java, skipping test(s)."
+ test.pass_test(1)
+
test.subdir('src')
test.write('SConstruct', """