equal
deleted
inserted
replaced
297 |
297 |
298 TestHelper.TestResult tr = null; |
298 TestHelper.TestResult tr = null; |
299 |
299 |
300 if (TestHelper.is32Bit) { |
300 if (TestHelper.is32Bit) { |
301 tr = TestHelper.doExec(TestHelper.javaCmd, "-client", "-version"); |
301 tr = TestHelper.doExec(TestHelper.javaCmd, "-client", "-version"); |
302 if (!tr.matches("Java.*Client VM.*")) { |
302 if (!tr.matches(".*Client VM.*")) { |
303 System.out.println("FAIL: the expected vm -client did launch"); |
303 System.out.println("FAIL: the expected vm -client did not launch"); |
304 System.out.println(tr); |
304 System.out.println(tr); |
305 errors++; |
305 errors++; |
306 } else { |
306 } else { |
307 passes++; |
307 passes++; |
308 } |
308 } |
309 } |
309 } |
310 tr = TestHelper.doExec(TestHelper.javaCmd, "-server", "-version"); |
310 tr = TestHelper.doExec(TestHelper.javaCmd, "-server", "-version"); |
311 if (!tr.matches("Java.*Server VM.*")) { |
311 if (!tr.matches(".*Server VM.*")) { |
312 System.out.println("FAIL: the expected vm -server did launch"); |
312 System.out.println("FAIL: the expected vm -server did not launch"); |
313 System.out.println(tr); |
313 System.out.println(tr); |
314 errors++; |
314 errors++; |
315 } else { |
315 } else { |
316 passes++; |
316 passes++; |
317 } |
317 } |