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

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

[nongnu] elpa/git-commit b28207a 2/5: Rename t/ to test/


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit b28207a 2/5: Rename t/ to test/
Date: Thu, 16 Dec 2021 13:57:38 -0500 (EST)

branch: elpa/git-commit
commit b28207aee1f17083150dfba5a58ab9c1b1ef8735
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Rename t/ to test/
---
 Makefile                   |  9 ++-------
 test/Makefile              | 14 ++++++++++++++
 {t => test}/magit-tests.el |  0
 3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index db6ae0c..f81722c 100644
--- a/Makefile
+++ b/Makefile
@@ -107,15 +107,10 @@ install-info: info
 ## Test ##############################################################
 
 test:
-       @$(BATCH) --eval "(progn\
-        $$suppress_warnings\
-       (load-file \"t/magit-tests.el\")\
-       (ert-run-tests-batch-and-exit))"
+       @$(MAKE) -C test test
 
 test-interactive:
-       @$(EMACSBIN) -Q $(LOAD_PATH) --eval "(progn\
-       (load-file \"t/magit-tests.el\")\
-       (ert t))"
+       @$(MAKE) -C test test-interactive
 
 emacs-Q: clean-lisp
        @$(EMACSBIN) -Q $(LOAD_PATH) --debug-init --eval "(progn\
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..5c8d3cb
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,14 @@
+-include ../config.mk
+include ../default.mk
+
+test:
+       @printf "Testing...\n"
+       @$(BATCH) --eval "(progn\
+       $$suppress_warnings\
+       (load-file \"$(TOP)test/magit-tests.el\")\
+       (ert-run-tests-batch-and-exit))"
+
+test-interactive:
+       @$(EMACSBIN) -Q $(LOAD_PATH) --eval "(progn\
+       (load-file \"$(TOP)test/magit-tests.el\")\
+       (ert t))"
diff --git a/t/magit-tests.el b/test/magit-tests.el
similarity index 100%
rename from t/magit-tests.el
rename to test/magit-tests.el



reply via email to

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