Add a skip_test() method to the infrastructure and use it for test scripts that skip...
[scons.git] / test / Repository / RMIC.py
index 9282835dd23323095ac05db240e00cd0ad33ae22..011006d78b1550719c116bcd15131e9f5c9da103 100644 (file)
@@ -42,12 +42,10 @@ javac = '/usr/local/j2sdk1.3.1/bin/javac'
 rmic = '/usr/local/j2sdk1.3.1/bin/rmic'
 
 if not os.path.exists(javac):
-    print "Could not find Java (javac), skipping test(s)."
-    test.pass_test(1)
+    test.skip_test("Could not find Java (javac), skipping test(s).\n")
 
 if not os.path.exists(rmic):
-    print "Could not find Java (rmic), skipping test(s)."
-    test.pass_test(1)
+    test.skip_test("Could not find Java (rmic), skipping test(s).\n")
 
 ###############################################################################