Add -b option to skip translator/style installation in tests
'b' for *b*undled files Translators and styles take a long time to install and initialize in source installations, and they're unnecessary for many tests. This shaves about 10 seconds off each test run for me on one system (and that's with some help from filesystem caching).
This commit is contained in:
parent
0154e44c2f
commit
51c7ae6e5c
4 changed files with 18 additions and 1 deletions
|
@ -465,6 +465,9 @@ ZoteroCommandLineHandler.prototype = {
|
|||
if (cmdLine.handleFlag("ZoteroNoUserInput", false)) {
|
||||
zInitOptions.noUserInput = true;
|
||||
}
|
||||
if (cmdLine.handleFlag("ZoteroSkipBundledFiles", false)) {
|
||||
zInitOptions.skipBundledFiles = true;
|
||||
}
|
||||
},
|
||||
|
||||
contractID: "@mozilla.org/commandlinehandler/general-startup;1?type=zotero",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue