[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b20113f: Automate 'make all' in test/indent
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master b20113f: Automate 'make all' in test/indent |
Date: |
Tue, 10 Mar 2015 00:39:15 +0000 |
branch: master
commit b20113f0f72a20a6c7eb8bfeef4d64633ed7a80c
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Automate 'make all' in test/indent
---
test/ChangeLog | 6 ++++++
test/indent/Makefile | 7 ++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/test/ChangeLog b/test/ChangeLog
index 876b946..e51dddc 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-09 Dmitry Gutov <address@hidden>
+
+ * indent/Makefile: Call 'rm' with '-f'. Default EMACS to
+ '../../src/emacs'. Remove *.new in 'clean'. Set 'all' target to
+ run all examples.
+
2015-03-09 Nicolas Petton <address@hidden>
* automated/seq-tests.el (test-seq-into): Add a test for seq-into.
diff --git a/test/indent/Makefile b/test/indent/Makefile
index 9e75f3d..8316268 100644
--- a/test/indent/Makefile
+++ b/test/indent/Makefile
@@ -1,14 +1,15 @@
RM=rm
-EMACS=emacs
+EMACS=../../src/emacs
+
+all: clean $(addsuffix .test,$(wildcard *.*))
clean:
- -$(RM) *.test
+ -$(RM) -f *.new
# TODO:
# - mark the places where the indentation is known to be incorrect,
# and allow either ignoring those errors or not.
%.test: %
- -$(RM) $<.new
$(EMACS) --batch $< \
--eval '(indent-region (point-min) (point-max) nil)' \
--eval '(write-region (point-min) (point-max) "$<.new")'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b20113f: Automate 'make all' in test/indent,
Dmitry Gutov <=