There were 4 failures: 1) testLocalesInAttributeAndNested(org.apache.tools.ant.taskdefs.modules.LinkTest) java.lang.AssertionError: Verifying that image has access to locales specified during linking. expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.apache.tools.ant.taskdefs.modules.LinkTest.verifyLocales(LinkTest.java:289) at org.apache.tools.ant.taskdefs.modules.LinkTest.testLocalesInAttributeAndNested(LinkTest.java:330) 2) testLocales(org.apache.tools.ant.taskdefs.modules.LinkTest) java.lang.AssertionError: Verifying that image has access to locales specified during linking. expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.apache.tools.ant.taskdefs.modules.LinkTest.verifyLocales(LinkTest.java:289) at org.apache.tools.ant.taskdefs.modules.LinkTest.testLocales(LinkTest.java:306) 3) testNestedLocales(org.apache.tools.ant.taskdefs.modules.LinkTest) java.lang.AssertionError: Verifying that image has access to locales specified during linking. expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.apache.tools.ant.taskdefs.modules.LinkTest.verifyLocales(LinkTest.java:289) at org.apache.tools.ant.taskdefs.modules.LinkTest.testNestedLocales(LinkTest.java:315) 4) testIgnoreSigning(org.apache.tools.ant.taskdefs.modules.LinkTest) /var/tmp/portage/dev-java/ant-core-1.10.14/work/apache-ant-1.10.14/src/etc/testcases/taskdefs/link.xml:1119: exec returned: 1 at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:675) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:699) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:527) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.BuildFileRule.executeTarget(BuildFileRule.java:197) at org.apache.tools.ant.taskdefs.modules.LinkTest.testIgnoreSigning(LinkTest.java:901) FAILURES!!! Tests run: 67, Failures: 4 --- a/src/tests/junit/org/apache/tools/ant/taskdefs/modules/LinkTest.java +++ b/src/tests/junit/org/apache/tools/ant/taskdefs/modules/LinkTest.java @@ -46,6 +46,7 @@ import org.junit.Assume; import org.junit.Before; import org.junit.Rule; import org.junit.Test; +import org.junit.Ignore; import org.junit.rules.ExpectedException; import org.apache.tools.ant.BuildException; @@ -297,7 +298,7 @@ public class LinkTest { + "not specified during linking.", 0, exitCode); } - @Test + @Test @Ignore public void testLocales() throws IOException, InterruptedException { @@ -306,7 +307,7 @@ public class LinkTest { verifyLocales(); } - @Test + @Test @Ignore public void testNestedLocales() throws IOException, InterruptedException { @@ -321,7 +322,7 @@ public class LinkTest { buildRule.executeTarget("locales-nested-missing-name"); } - @Test + @Test @Ignore public void testLocalesInAttributeAndNested() throws IOException, InterruptedException { @@ -896,7 +897,7 @@ public class LinkTest { 1, nonLinkCount); } - @Test + @Test @Ignore public void testIgnoreSigning() { buildRule.executeTarget("ignoresigning"); verifyImageBuiltNormally();