summaryrefslogtreecommitdiff
path: root/test/Java
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-01-17 15:33:39 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2016-01-17 15:33:39 -0800
commitede35b884dcdef9c0c1463af6a91d96b429f17d2 (patch)
tree2d764cd6319375a8d20bd96d6852076704231de0 /test/Java
parent844c7882f68248e9a068f9aa59439bae1b87eb46 (diff)
downloadscons-ede35b884dcdef9c0c1463af6a91d96b429f17d2.tar.gz
added comment per William Blevins comment on pull request to indicate why we're skipping some tests for gcj
Diffstat (limited to 'test/Java')
-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 df0ec2d2..81582d72 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 46758950..160c523e 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 81261577..a7640544 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')