ICU-5928 Skip Bidi/TestCompatibility on Java 1.4/1.4.1 runtime env, which is known to fail.
X-SVN-Rev: 22662
This commit is contained in:
parent
c9d43a6db5
commit
961536a548
@ -138,6 +138,14 @@ public class TestCompatibility extends BidiTest {
|
||||
|
||||
public void testCompatibility()
|
||||
{
|
||||
// This test case does not work well on Java 1.4/1.4.1 environment,
|
||||
// because of insufficient Bidi implementation in these versions.
|
||||
String javaVersion = System.getProperty("java.version");
|
||||
if (javaVersion.startsWith("1.4.0") || javaVersion.startsWith("1.4.1")) {
|
||||
logln("\nSkipping TestCompatibility. The test case is known to fail on Java "
|
||||
+ javaVersion + "\n");
|
||||
return;
|
||||
}
|
||||
logln("\nEntering TestCompatibility\n");
|
||||
/* check constant field values */
|
||||
int val;
|
||||
|
Loading…
Reference in New Issue
Block a user