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

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

[nongnu] elpa/popup 4e8824e 051/184: Add some make rules for test.


From: ELPA Syncer
Subject: [nongnu] elpa/popup 4e8824e 051/184: Add some make rules for test.
Date: Wed, 6 Oct 2021 00:01:05 -0400 (EDT)

branch: elpa/popup
commit 4e8824e18c2b1af3e912e0733bc4f9fba36dba05
Author: Tomohiro Matsuyama <tomo@cx4a.org>
Commit: Tomohiro Matsuyama <tomo@cx4a.org>

    Add some make rules for test.
---
 .gitignore |  1 +
 Makefile   | 19 ++++++++++++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..44f8384
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tests/ert.el
diff --git a/Makefile b/Makefile
index 418837a..63e2614 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,22 @@
 EMACS=emacs
+EMACS23=emacs23
+
+.PHONY: test test-nw test-emacs23 test-emacs23-nw travis-ci
+
+test:
+       ${EMACS} -Q -L . -l tests/run-test.el
+
+test-nw:
+       ${EMACS} -Q -nw -L . -l tests/run-test.el
+
+test-emacs23: tests/ert.el
+       ${EMACS23} -Q -L . -l test/ert.el -l tests/run-test.el
+
+test-emacs23-nw: tests/ert.el
+       ${EMACS23} -Q -nw -L . -l test/ert.el -l tests/run-test.el
 
 travis-ci:
-       ${EMACS} --version
        ${EMACS} -batch -Q -l tests/run-test.el
+
+tests/ert.el:
+       wget 
"http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/emacs-lisp/ert.el"; -O $@



reply via email to

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