unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Running a subset of automated tests
@ 2013-08-23 21:06 Barry OReilly
  2013-08-24  1:34 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Barry OReilly @ 2013-08-23 21:06 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

Hi, I've found I want to run only one or a few of the tests at a time
rather than the whole suite. This patch would support:

  > make check EMACS_TESTS=cl-lib.el
  [...]
  Testing cl-lib.el
  [...]

  > make check EMACS_TESTS="*file*"
  [...]
  Testing file-notify-tests.el files.el
  [...]

Is it suitable to install? Note the patch is mixed with the patch in
bug 15170.

diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in
index d4bfcc1..9d1e6c8 100644
--- a/test/automated/Makefile.in
+++ b/test/automated/Makefile.in
@@ -147,7 +148,7 @@ maintainer-clean: distclean bootstrap-clean

 check: compile-main
        @(cd $(test); $(setwins); \
-       pattern=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e
's| |/*.el |g'`; \
+       pattern=$${EMACS_TESTS:=`echo "$$wins" | sed -e 's|/\./|/|g' -e
's|/\. | |g' -e 's| |/*.el |g'`}; \
        for el in $$pattern; do \
          test -f $$el || continue; \
          args="$$args -l $$el"; \

[-- Attachment #2: Type: text/html, Size: 1193 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Running a subset of automated tests
  2013-08-23 21:06 Running a subset of automated tests Barry OReilly
@ 2013-08-24  1:34 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-08-24  1:34 UTC (permalink / raw)
  To: Barry OReilly; +Cc: emacs-devel

Barry OReilly wrote:

> Hi, I've found I want to run only one or a few of the tests at a time
> rather than the whole suite.

I think 

http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00339.html

is supposed to allow this. I don't know if it is waiting on something.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-24  1:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 21:06 Running a subset of automated tests Barry OReilly
2013-08-24  1:34 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).