commit 30d0858ebfd2b5d315cd091f553db15841e737fe
parent fa859b45fe5bb3556da8718c95760e92d1be87c3
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 29 Nov 2016 01:42:15 -0500
Travis debugging
Diffstat:
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage/storageLocal.js b/chrome/content/zotero/xpcom/storage/storageLocal.js
@@ -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':
diff --git a/test/runtests.sh b/test/runtests.sh
@@ -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
diff --git a/test/tests/syncRunnerTest.js b/test/tests/syncRunnerTest.js
@@ -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