diff options
author | Steven Knight <knight@baldmt.com> | 2005-08-13 05:42:18 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-08-13 05:42:18 (GMT) |
commit | 52fcda2435759339de636e5d5abad71b0f5372ad (patch) | |
tree | 7b99184d14e042b4f58b1f2186cbf70f4f05cfc8 /test/Repository/Java.py | |
parent | 90376f36df71401df8e7cf71fead9b7869153159 (diff) | |
download | SCons-52fcda2435759339de636e5d5abad71b0f5372ad.zip SCons-52fcda2435759339de636e5d5abad71b0f5372ad.tar.gz SCons-52fcda2435759339de636e5d5abad71b0f5372ad.tar.bz2 |
Add a skip_test() method to the infrastructure and use it for test scripts that skip all or part of their tests based on tool availability or test platform.
Diffstat (limited to 'test/Repository/Java.py')
-rw-r--r-- | test/Repository/Java.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Repository/Java.py b/test/Repository/Java.py index fd2986e..6a45dff 100644 --- a/test/Repository/Java.py +++ b/test/Repository/Java.py @@ -41,8 +41,7 @@ java = '/usr/local/j2sdk1.3.1/bin/java' javac = '/usr/local/j2sdk1.3.1/bin/javac' if not os.path.exists(javac): - print "Could not find Java, skipping test(s)." - test.pass_test(1) + test.skip_test("Could not find Java, skipping test(s).\n") ############################################################################### |