branch: master commit 233ea1a7660e4d6c0b13c91712de122ddbae9f0a Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com> Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Kill any scopifier server before running the tests. --- Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index bd82b88..0b5c237 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ CASK = cask EMACS = emacs DEPENDENCIES = .cask/ +SCOPIFIER_PORT = $$(lsof -t -i:6969) +KILL_SCOPIFIER = if [ -n "${SCOPIFIER_PORT}" ]; then kill ${SCOPIFIER_PORT}; fi all: uncompile compile test @@ -26,6 +28,7 @@ ${DEPENDENCIES}: ${CASK} test: ${DEPENDENCIES} + ${KILL_SCOPIFIER} ${CASK} exec ${EMACS} -Q -batch \ -L . \ -l ert \ @@ -36,6 +39,7 @@ test: ${DEPENDENCIES} -f ert-run-tests-batch-and-exit cover: ${DEPENDENCIES} + ${KILL_SCOPIFIER} ${CASK} exec ${EMACS} -Q -batch \ -L . \ -l ert \