]> sourceware.org Git - systemtap.git/commitdiff
If 'javac' doesn't exist, mark systemtap.apps/java.exp as untested.
authorDavid Smith <dsmith@redhat.com>
Tue, 14 May 2013 13:46:40 +0000 (08:46 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 14 May 2013 13:46:40 +0000 (08:46 -0500)
testsuite/systemtap.apps/java.exp

index 66587c1249651f493e05f323d4f1d2293559c10a..707fd2fdc728be3626ae61a7c440a2976f48f9db 100644 (file)
@@ -1,3 +1,9 @@
+set test "java"
+if {[catch { exec which javac } res]} {
+    untested "$test - no javac"
+    return
+}
+
 set test "singleparam"
 
 # Test per method probing
This page took 0.027117 seconds and 5 git commands to generate.