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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Java/nested-classes.py b/test/Java/nested-classes.py
index 2b1b5db..8126157 100644
--- a/test/Java/nested-classes.py
+++ b/test/Java/nested-classes.py
@@ -40,6 +40,10 @@ where_javac, java_version = test.java_where_javac()
# Work around javac 1.4 not reporting its version:
java_version = java_version or "1.4"
+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'