comparison mx/JUnitWrapper.java @ 15500:f2132fab8a6f

Add custom GraalJUnitCore.
author Josef Eisl <josef.eisl@jku.at>
date Mon, 05 May 2014 11:33:33 +0200
parents f38f746f4980
children a26be2c9b81b
comparison
equal deleted inserted replaced
15499:229537218983 15500:f2132fab8a6f
25 /* Execute testcases by reading names from a given file, due to limits of 25 /* Execute testcases by reading names from a given file, due to limits of
26 * the operating system regarding command line size (windows: 32k, 26 * the operating system regarding command line size (windows: 32k,
27 * linux [depending on the settings]: ~2097k) 27 * linux [depending on the settings]: ~2097k)
28 * see http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx 28 * see http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx
29 */ 29 */
30 30 import com.oracle.graal.test.*;
31 import org.junit.runner.*;
32 import java.io.*; 31 import java.io.*;
33 import java.util.*; 32 import java.util.*;
34 33
35 public class JUnitWrapper { 34 public class JUnitWrapper {
36 35
70 if (strargs.length == 1) { 69 if (strargs.length == 1) {
71 System.out.printf("executing junit test now... (%s)\n", strargs[0]); 70 System.out.printf("executing junit test now... (%s)\n", strargs[0]);
72 } else { 71 } else {
73 System.out.printf("executing junit tests now... (%d test classes)\n", strargs.length); 72 System.out.printf("executing junit tests now... (%d test classes)\n", strargs.length);
74 } 73 }
75 JUnitCore.main(strargs); 74 GraalJUnitCore.main(strargs);
76 } 75 }
77 } 76 }