diff options
| -rw-r--r-- | test/ChangeLog | 6 | ||||
| -rw-r--r-- | test/indent/Makefile | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 876b9462611..e51dddc05f1 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-03-09 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * indent/Makefile: Call 'rm' with '-f'. Default EMACS to | ||
| 4 | '../../src/emacs'. Remove *.new in 'clean'. Set 'all' target to | ||
| 5 | run all examples. | ||
| 6 | |||
| 1 | 2015-03-09 Nicolas Petton <nicolas@petton.fr> | 7 | 2015-03-09 Nicolas Petton <nicolas@petton.fr> |
| 2 | 8 | ||
| 3 | * automated/seq-tests.el (test-seq-into): Add a test for seq-into. | 9 | * automated/seq-tests.el (test-seq-into): Add a test for seq-into. |
diff --git a/test/indent/Makefile b/test/indent/Makefile index 9e75f3dad57..83162681d72 100644 --- a/test/indent/Makefile +++ b/test/indent/Makefile | |||
| @@ -1,14 +1,15 @@ | |||
| 1 | RM=rm | 1 | RM=rm |
| 2 | EMACS=emacs | 2 | EMACS=../../src/emacs |
| 3 | |||
| 4 | all: clean $(addsuffix .test,$(wildcard *.*)) | ||
| 3 | 5 | ||
| 4 | clean: | 6 | clean: |
| 5 | -$(RM) *.test | 7 | -$(RM) -f *.new |
| 6 | 8 | ||
| 7 | # TODO: | 9 | # TODO: |
| 8 | # - mark the places where the indentation is known to be incorrect, | 10 | # - mark the places where the indentation is known to be incorrect, |
| 9 | # and allow either ignoring those errors or not. | 11 | # and allow either ignoring those errors or not. |
| 10 | %.test: % | 12 | %.test: % |
| 11 | -$(RM) $<.new | ||
| 12 | $(EMACS) --batch $< \ | 13 | $(EMACS) --batch $< \ |
| 13 | --eval '(indent-region (point-min) (point-max) nil)' \ | 14 | --eval '(indent-region (point-min) (point-max) nil)' \ |
| 14 | --eval '(write-region (point-min) (point-max) "$<.new")' | 15 | --eval '(write-region (point-min) (point-max) "$<.new")' |