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:
Yoshito Umaoka 2007-09-12 20:21:42 +00:00
parent c9d43a6db5
commit 961536a548

View File

@ -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;