equal
deleted
inserted
replaced
66 } |
66 } |
67 |
67 |
68 public InvokeGenericTest() { |
68 public InvokeGenericTest() { |
69 } |
69 } |
70 |
70 |
71 @Before |
|
72 public void checkImplementedPlatform() { |
|
73 boolean platformOK = false; |
|
74 Properties properties = System.getProperties(); |
|
75 String vers = properties.getProperty("java.vm.version"); |
|
76 String name = properties.getProperty("java.vm.name"); |
|
77 String arch = properties.getProperty("os.arch"); |
|
78 if ((arch.equals("amd64") || arch.equals("i386") || arch.equals("x86") || |
|
79 arch.equals("x86_64") || arch.equals("sparc") || arch.equals("sparcv9")) && |
|
80 (name.contains("Client") || name.contains("Server")) |
|
81 ) { |
|
82 platformOK = true; |
|
83 } else { |
|
84 System.err.println("Skipping tests for unsupported platform: "+Arrays.asList(vers, name, arch)); |
|
85 } |
|
86 assumeTrue(platformOK); |
|
87 } |
|
88 |
|
89 String testName; |
71 String testName; |
90 static int allPosTests, allNegTests; |
72 static int allPosTests, allNegTests; |
91 int posTests, negTests; |
73 int posTests, negTests; |
92 @After |
74 @After |
93 public void printCounts() { |
75 public void printCounts() { |