aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
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 /test/Makefile
parent337a190c1a49266864545facecddcb4a89eca035 (diff)
Rename t/ to test/
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile14
1 files changed, 14 insertions, 0 deletions
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))"