24 lines
745 B
Diff
24 lines
745 B
Diff
|
diff --git a/zotero/test/runtests.sh.orig b/zotero/test/runtests.sh
|
||
|
index d83914a..ec91848 100755
|
||
|
--- a/zotero/test/runtests.sh.orig
|
||
|
+++ b/zotero/test/runtests.sh
|
||
|
@@ -154,18 +154,6 @@ fi
|
||
|
# Clean up on exit
|
||
|
trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
|
||
|
|
||
|
-# Check if build watch process is running
|
||
|
-# If not, run now
|
||
|
-if [[ -z "$CI" ]] && ! ps | grep js-build/build.js | grep -v grep > /dev/null; then
|
||
|
- echo
|
||
|
- echo "Running JS build process"
|
||
|
- cd "$ROOT_DIR"
|
||
|
- NODE_OPTIONS=--openssl-legacy-provider npm run build || exit $?
|
||
|
- echo
|
||
|
-fi
|
||
|
-
|
||
|
-ZOTERO_TEST=1 "$ROOT_DIR/app/scripts/dir_build" -q
|
||
|
-
|
||
|
makePath FX_PROFILE "$PROFILE"
|
||
|
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$Z_EXECUTABLE" -profile "$FX_PROFILE" \
|
||
|
-test "$TESTS" -grep "$GREP" -ZoteroTest $Z_ARGS
|