Mercurial > hg > graal-compiler
diff mx/JUnitWrapper.java @ 15502:a26be2c9b81b
Add command line support for JUnit.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Mon, 05 May 2014 16:07:20 +0200 |
parents | f2132fab8a6f |
children | 151fe6b1e511 |
line wrap: on
line diff
--- a/mx/JUnitWrapper.java Mon May 05 11:34:00 2014 +0200 +++ b/mx/JUnitWrapper.java Mon May 05 16:07:20 2014 +0200 @@ -43,6 +43,10 @@ System.exit(1); } ArrayList<String> tests = new ArrayList<String>(1000); + // add JUnit command line arguments + for (int i = 1; i < args.length; i++) { + tests.add(args[i]); + } BufferedReader br = null; try { br = new BufferedReader(new FileReader(args[0]));