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

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

[elpa] 70/119: run all tests with "make check"


From: Eric Schulte
Subject: [elpa] 70/119: run all tests with "make check"
Date: Mon, 10 Mar 2014 16:57:39 +0000

eschulte pushed a commit to branch master
in repository elpa.

commit 823e64b5638aa833a6f43512aa8545db44c5b1f2
Author: Eric Schulte <address@hidden>
Date:   Sun Jan 5 23:17:56 2014 -0700

    run all tests with "make check"
---
 Makefile           |    5 ++++-
 web-server-test.el |    1 -
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 11b4556..d447e5f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ BATCH=$(EMACS) --batch --execute '(add-to-list (quote 
load-path) "$(shell pwd)")
 SRC=$(wildcard *.el)
 ELC=$(SRC:.el=.elc)
 
-.PHONY: clean src doc
+.PHONY: src doc check clean
 all: src doc
 
 src: $(SRC)
@@ -13,6 +13,9 @@ src: $(SRC)
 doc:
        $(MAKE) -C doc/
 
+check: $(SRC)
+       $(BATCH) -l cl -l ert -l web-server-test -f ert-run-tests-batch-and-exit
+
 clean:
        rm -f $(ELC)
        $(MAKE) -C doc/ $(MAKECMDGOALS)
diff --git a/web-server-test.el b/web-server-test.el
index a3c618a..8f6f01c 100644
--- a/web-server-test.el
+++ b/web-server-test.el
@@ -155,7 +155,6 @@ Cache-Control: no-cache
 
org=-+one%0A-+two%0A-+three%0A-+four%0A%0A&beg=646&end=667&path=%2Fcomplex.org")
           (ws-parse-request request)
           (let ((headers (cdr (headers request))))
-            (message "headers:%S" headers)
             (should (string= (cdr (assoc "path" headers)) "/complex.org"))
             (should (string= (cdr (assoc "beg" headers)) "646"))
             (should (string= (cdr (assoc "end" headers)) "667"))



reply via email to

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