aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-12-16 19:36:00 +0100
committerJonas Bernoulli <jonas@bernoul.li>2021-12-16 19:36:00 +0100
commitb28207aee1f17083150dfba5a58ab9c1b1ef8735 (patch)
tree0b272879c462f03db59b6409ed941d36136ab762
parent337a190c1a49266864545facecddcb4a89eca035 (diff)
Rename t/ to test/
-rw-r--r--Makefile9
-rw-r--r--test/Makefile14
-rw-r--r--test/magit-tests.el (renamed from t/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
index 523cc51..523cc51 100644
--- a/t/magit-tests.el
+++ b/test/magit-tests.el