From 30d0858ebfd2b5d315cd091f553db15841e737fe Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 29 Nov 2016 01:42:15 -0500 Subject: [PATCH] Travis debugging --- chrome/content/zotero/xpcom/storage/storageLocal.js | 1 + test/runtests.sh | 2 +- test/tests/syncRunnerTest.js | 3 +++ 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 index 6ed7aba50..0affc6bda 100644 --- 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 index bdf24da95..dced8b87d 100755 --- 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 index 1470bb3d6..9bd0b6ed8 100644 --- 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