Add -s flag to runtests.sh to start at given file

Useful for restarting after spurious errors when using -f

E.g., ./runtests.sh -s syncEngine
This commit is contained in:
Dan Stillman 2016-12-16 04:21:21 -05:00
parent b7daef6bf4
commit 238ab80699
3 changed files with 27 additions and 7 deletions

View file

@ -37,6 +37,7 @@ ZoteroUnit.prototype = {
this.noquit = !this.makeTestData && this.noquit;
this.runTests = !this.makeTestData;
this.bail = cmdLine.handleFlag("bail", false);
this.startAt = cmdLine.handleFlagWithParam("startAtTestFile", false);
this.grep = cmdLine.handleFlagWithParam("grep", false);
this.timeout = cmdLine.handleFlagWithParam("ZoteroTestTimeout", false);
},