comparison mx/JUnitWrapper.java @ 9704:f9a65a0e626b

Merge.
author Christian Haeubl <haeubl@ssw.jku.at>
date Mon, 13 May 2013 17:11:31 +0200
parents f38f746f4980
children f2132fab8a6f 12f2b3baa163
comparison
equal deleted inserted replaced
9703:57113d21ce36 9704:f9a65a0e626b
65 System.exit(3); 65 System.exit(3);
66 } 66 }
67 } 67 }
68 68
69 String[] strargs = tests.toArray(new String[tests.size()]); 69 String[] strargs = tests.toArray(new String[tests.size()]);
70 System.out.printf("executing junit tests now... (%d test classes)\n", strargs.length); 70 if (strargs.length == 1) {
71 System.out.printf("executing junit test now... (%s)\n", strargs[0]);
72 } else {
73 System.out.printf("executing junit tests now... (%d test classes)\n", strargs.length);
74 }
71 JUnitCore.main(strargs); 75 JUnitCore.main(strargs);
72 } 76 }
73 } 77 }