summaryrefslogtreecommitdiffstats
path: root/test/JARFLAGS.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-10 05:35:38 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-10 05:35:38 (GMT)
commit2f8be7360679ad5e0260f4965ea5dd9506c7b033 (patch)
tree1379c046e82985011c5ab2d7604adf055e3140b9 /test/JARFLAGS.py
parent81e5793a07783b29a13004f834b7579a0e1605bb (diff)
downloadSCons-2f8be7360679ad5e0260f4965ea5dd9506c7b033.zip
SCons-2f8be7360679ad5e0260f4965ea5dd9506c7b033.tar.gz
SCons-2f8be7360679ad5e0260f4965ea5dd9506c7b033.tar.bz2
Implement Tool refactoring. (Chad Austin + Steve Leblanc)
Diffstat (limited to 'test/JARFLAGS.py')
-rw-r--r--test/JARFLAGS.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/JARFLAGS.py b/test/JARFLAGS.py
index af5b89d..539806f 100644
--- a/test/JARFLAGS.py
+++ b/test/JARFLAGS.py
@@ -56,6 +56,10 @@ public class Example1
}
""")
+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.run(arguments = '.',
stdout = test.wrap_stdout("""\
/usr/local/j2sdk1.3.1/bin/javac -d classes -sourcepath src src/Example1.java