Travis debugging
This commit is contained in:
parent
3a9cd31d42
commit
837ae0444d
3 changed files with 9 additions and 2 deletions
|
@ -616,6 +616,8 @@ Zotero.DataDirectory = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// At least the database was copied, but other things failed
|
// At least the database was copied, but other things failed
|
||||||
|
Zotero.debug(1);
|
||||||
|
Zotero.debug(errors);
|
||||||
if (errors.length) {
|
if (errors.length) {
|
||||||
let ps = Services.prompt;
|
let ps = Services.prompt;
|
||||||
let buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
|
let buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
|
||||||
|
@ -670,6 +672,7 @@ Zotero.DataDirectory = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Zotero.debug(2);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -143,8 +143,11 @@ fi
|
||||||
trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
|
trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
|
||||||
|
|
||||||
makePath FX_PROFILE "$PROFILE"
|
makePath FX_PROFILE "$PROFILE"
|
||||||
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" \
|
# Temp
|
||||||
-chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $FX_ARGS
|
#MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" \
|
||||||
|
# -chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $FX_ARGS
|
||||||
|
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" -bail \
|
||||||
|
-chrome chrome://zotero-unit/content/runtests.html -test dataDirectory -grep "$GREP" -ZoteroTest $FX_ARGS
|
||||||
|
|
||||||
# Check for success
|
# Check for success
|
||||||
test -e "$PROFILE/success"
|
test -e "$PROFILE/success"
|
||||||
|
|
|
@ -199,6 +199,7 @@ describe("Zotero.DataDirectory", function () {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
yield Zotero.DataDirectory.checkForMigration(oldDir, newDir);
|
yield Zotero.DataDirectory.checkForMigration(oldDir, newDir);
|
||||||
|
Zotero.debug("Before promise 1");
|
||||||
yield promise;
|
yield promise;
|
||||||
yield promise2;
|
yield promise2;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue