Commit a36829b1 by Erik Hetzner

Improve run-tests.sh

- Quiet ecukes/ert
- Quiet shell
- Quiet mock server
- Misc cleanup
parent 33bbcfcc
#/bin/sh -ex
#/bin/sh -e
bundle install --quiet
ruby mock-server.rb -p 33119 &
ruby mock-server.rb -p 33119 >/dev/null 2>/dev/null &
MOCK_PID=$!
sleep 2
for CASK_DIR in casks/* ; do
printf "Testing %s\n" "$(basename "${CASK_DIR}")"
cd "$CASK_DIR" || exit
cask clean-elc
cask
# ensure no compile errors
rm -f ./*.elc
cask exec emacs -Q --batch -L . --eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile zotxt.el
cask exec emacs -Q --batch -L . --eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile org-zotxt.el
cask exec ert-runner
cask exec ecukes
cask exec ert-runner --quiet
cask exec ecukes --quiet
cd ../.. || exit
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment