Merge pull request #151 from metadave/dip_check_args

don't call process() if args aren't specified
This commit is contained in:
Terence Parr 2013-01-29 11:18:13 -08:00
commit 59f7467d68
2 changed files with 5 additions and 1 deletions

View File

@ -52,3 +52,5 @@ YYYY/MM/DD, github id, Full name, email
2012/09/18, sharwell, Sam Harwell, sam@tunnelvisionlabs.com
2012/10/10, stephengaito, Stephen Gaito, stephen@percepitsys.co.uk
2012/11/23, maguro, Alan Cabrera, adc@toolazydogs.com
2013/01/29, metadave, Dave Parfitt, diparfitt@gmail.com

View File

@ -139,7 +139,9 @@ public class TestRig {
public static void main(String[] args) throws Exception {
TestRig testRig = new TestRig(args);
testRig.process();
if(args.length >= 2) {
testRig.process();
}
}
public void process() throws Exception {