aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
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))"