Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotTest/src/JavaTester.java @ 1435:20a3896518ac
Initial adjustments to make C1X4HotSpot compile and run with latest Maxine version.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 22 Oct 2010 17:31:38 +0200 |
parents | 72cfb36c6bb2 |
children | 9b22e3e5df8e |
comparison
equal
deleted
inserted
replaced
1434:72cfb36c6bb2 | 1435:20a3896518ac |
---|---|
1 | 1 |
2 import com.sun.hotspot.c1x.logging.Logger; | 2 import com.sun.hotspot.c1x.logging.Logger; |
3 | 3 |
4 public class JavaTester { | 4 public class JavaTester { |
5 | 5 |
6 /** | |
7 * Call with start and end test number as parameters. | |
8 */ | |
6 public static void main(String[] args) { | 9 public static void main(String[] args) { |
7 runTests(0, 0); | 10 int start = 0; |
11 int end = 10000; | |
12 | |
13 if (args.length > 0) { | |
14 start = Integer.parseInt(args[0]); | |
15 } | |
16 | |
17 if (args.length > 1) { | |
18 end = Integer.parseInt(args[1]); | |
19 } | |
20 | |
21 runTests(start, end); | |
8 Logger.info("total: " + executed + " tests executed, " + passed + " passed, " + failed + " failed"); | 22 Logger.info("total: " + executed + " tests executed, " + passed + " passed, " + failed + " failed"); |
9 } | 23 } |
10 | 24 |
11 private static int testNumber; | 25 private static int testNumber; |
12 private static String testName; | 26 private static String testName; |