forked from jasder/antlr
Merge pull request #151 from metadave/dip_check_args
don't call process() if args aren't specified
This commit is contained in:
commit
59f7467d68
|
@ -52,3 +52,5 @@ YYYY/MM/DD, github id, Full name, email
|
||||||
2012/09/18, sharwell, Sam Harwell, sam@tunnelvisionlabs.com
|
2012/09/18, sharwell, Sam Harwell, sam@tunnelvisionlabs.com
|
||||||
2012/10/10, stephengaito, Stephen Gaito, stephen@percepitsys.co.uk
|
2012/10/10, stephengaito, Stephen Gaito, stephen@percepitsys.co.uk
|
||||||
2012/11/23, maguro, Alan Cabrera, adc@toolazydogs.com
|
2012/11/23, maguro, Alan Cabrera, adc@toolazydogs.com
|
||||||
|
2013/01/29, metadave, Dave Parfitt, diparfitt@gmail.com
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,9 @@ public class TestRig {
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
TestRig testRig = new TestRig(args);
|
TestRig testRig = new TestRig(args);
|
||||||
testRig.process();
|
if(args.length >= 2) {
|
||||||
|
testRig.process();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void process() throws Exception {
|
public void process() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue