emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 233ea1a 47/79: Kill any scopifier server before running th


From: Jackson Ray Hamilton
Subject: [elpa] master 233ea1a 47/79: Kill any scopifier server before running the tests.
Date: Sun, 14 Jun 2015 00:05:36 +0000

branch: master
commit 233ea1a7660e4d6c0b13c91712de122ddbae9f0a
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    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 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]