diff options
Diffstat (limited to 'test/Repository')
-rw-r--r-- | test/Repository/Java.py | 3 | ||||
-rw-r--r-- | test/Repository/JavaH.py | 6 | ||||
-rw-r--r-- | test/Repository/RMIC.py | 6 |
3 files changed, 5 insertions, 10 deletions
diff --git a/test/Repository/Java.py b/test/Repository/Java.py index fd2986e6..6a45dffd 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") ############################################################################### diff --git a/test/Repository/JavaH.py b/test/Repository/JavaH.py index c11ad2b4..0420ca37 100644 --- a/test/Repository/JavaH.py +++ b/test/Repository/JavaH.py @@ -42,12 +42,10 @@ javac = '/usr/local/j2sdk1.3.1/bin/javac' javah = '/usr/local/j2sdk1.3.1/bin/javah' 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(javah): - print "Could not find Java (javah), skipping test(s)." - test.pass_test(1) + test.skip_test("Could not find Java (javah), skipping test(s).\n") ############################################################################### diff --git a/test/Repository/RMIC.py b/test/Repository/RMIC.py index 9282835d..011006d7 100644 --- a/test/Repository/RMIC.py +++ b/test/Repository/RMIC.py @@ -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") ############################################################################### |