Add -e flag to runtests.sh to stop tests after a given file
This is useful when trying to debug an error that only happens after a number of other tests have run -- specify -e and run tests from either an earlier file with -s or from the beginning.
This commit is contained in:
parent
dcfddac519
commit
c11f1069d7
3 changed files with 13 additions and 1 deletions
|
@ -38,6 +38,7 @@ ZoteroUnit.prototype = {
|
|||
this.runTests = !this.makeTestData;
|
||||
this.bail = cmdLine.handleFlag("bail", false);
|
||||
this.startAt = cmdLine.handleFlagWithParam("startAtTestFile", false);
|
||||
this.stopAt = cmdLine.handleFlagWithParam("stopAtTestFile", false);
|
||||
this.grep = cmdLine.handleFlagWithParam("grep", false);
|
||||
this.timeout = cmdLine.handleFlagWithParam("ZoteroTestTimeout", false);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue