summaryrefslogtreecommitdiffstats
path: root/test/Java/nested-classes.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/nested-classes.py')
-rw-r--r--test/Java/nested-classes.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Java/nested-classes.py b/test/Java/nested-classes.py
index 2b1b5db..a764054 100644
--- a/test/Java/nested-classes.py
+++ b/test/Java/nested-classes.py
@@ -40,6 +40,13 @@ 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')
+
+
test.write('SConstruct', """
env = Environment()
env['JAVAVERSION'] = '%(java_version)s'