Travis debugging

This commit is contained in:
Dan Stillman 2016-11-29 01:42:15 -05:00
parent fa859b45fe
commit 30d0858ebf
3 changed files with 5 additions and 1 deletions

View file

@ -40,6 +40,7 @@ Zotero.Sync.Storage.Local = {
case 'user':
case 'publications':
case 'feed':
Zotero.debug("Storage Mode: " + Zotero.Prefs.get("sync.storage.protocol"));
return Zotero.Prefs.get("sync.storage.protocol") == 'webdav' ? 'webdav' : 'zfs';
case 'group':

View file

@ -143,7 +143,7 @@ fi
trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
makePath FX_PROFILE "$PROFILE"
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" \
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" -bail \
-chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $FX_ARGS
# Check for success

View file

@ -114,6 +114,9 @@ describe("Zotero.Sync.Runner", function () {
// Tests
//
beforeEach(function* () {
// TEMP: Travis debugging
Zotero.Debug.init(true);
yield resetDB({
thisArg: this,
skipBundledFiles: true