summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Java/JAVAH.py3
-rw-r--r--test/Java/multi-step.py3
-rw-r--r--test/Java/nested-classes.py3
3 files changed, 9 insertions, 0 deletions
diff --git a/test/Java/JAVAH.py b/test/Java/JAVAH.py
index df0ec2d..81582d7 100644
--- a/test/Java/JAVAH.py
+++ b/test/Java/JAVAH.py
@@ -99,6 +99,9 @@ where_javah = test.java_where_javah()
if java_version:
java_version = repr(java_version)
+# Skip this test as SCons doesn't (currently) predict the generated
+# inner/anonymous class generated .class files generated by gcj
+# and so will always fail
if test.javac_is_gcj:
test.skip_test('Test not valid for gcj (gnu java); skipping test(s).\n')
diff --git a/test/Java/multi-step.py b/test/Java/multi-step.py
index 4675895..160c523 100644
--- a/test/Java/multi-step.py
+++ b/test/Java/multi-step.py
@@ -43,6 +43,9 @@ swig = test.where_is('swig')
if not swig:
test.skip_test('Can not find installed "swig", skipping test.\n')
+# Skip this test as SCons doesn't (currently) predict the generated
+# inner/anonymous class generated .class files generated by gcj
+# and so will always fail
if test.javac_is_gcj:
test.skip_test('Test not valid for gcj (gnu java); skipping test(s).\n')
diff --git a/test/Java/nested-classes.py b/test/Java/nested-classes.py
index 8126157..a764054 100644
--- a/test/Java/nested-classes.py
+++ b/test/Java/nested-classes.py
@@ -40,6 +40,9 @@ where_javac, java_version = test.java_where_javac()
# Work around javac 1.4 not reporting its version:
java_version = java_version or "1.4"
+# Skip this test as SCons doesn't (currently) predict the generated
+# inner/anonymous class generated .class files generated by gcj
+# and so will always fail
if test.javac_is_gcj:
test.skip_test('Test not valid for gcj (gnu java); skipping test(s).\n')