diff 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
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotTest/src/JavaTester.java	Thu Sep 30 17:19:48 2010 -0700
+++ b/c1x4hotspotsrc/HotSpotTest/src/JavaTester.java	Fri Oct 22 17:31:38 2010 +0200
@@ -3,8 +3,22 @@
 
 public class JavaTester {
 
+	/**
+	 * Call with start and end test number as parameters.
+	 */
 	public static void main(String[] args) {
-		runTests(0, 0);
+		int start = 0;
+		int end = 10000;
+		
+		if (args.length > 0) {
+			start = Integer.parseInt(args[0]);
+		}
+		
+		if (args.length > 1) {
+			end = Integer.parseInt(args[1]);
+		}
+		
+		runTests(start, end);
 		Logger.info("total: " + executed + " tests executed, " + passed + " passed, " + failed + " failed");
 	}