]> code.delx.au - gnu-emacs-elpa/blob - packages/test-simple/test/Makefile.am
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / test-simple / test / Makefile.am
1 include $(top_srcdir)/common.mk
2
3 PHONY=check test all
4 EXTRA_DIST=gcd.py gcd.rb
5
6 all:
7
8 #: same thing as "check"
9 test: check
10
11 test_files := $(wildcard test-*.el)
12
13 CHECK_FILES = $(notdir $(test_files:.el=.run))
14
15 #: Run all tests
16 check: $(CHECK_FILES)
17
18 #: Run all tests with minimum verbosity
19 check-short:
20 $(MAKE) check 2>&1 | ruby ../make-check-filter.rb
21
22 test-%.run:
23 (cd $(top_srcdir)/test && $(EMACS) --batch --no-site-file --no-splash --load $(@:.run=.el))
24
25 # Whatever it is you want to do, it should be forwarded to the
26 # to top-level directories
27 %:
28 $(MAKE) -C .. $@
29