emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testsuite? [was Re: Can't isearch for non-ASCII text]


From: Nick Roberts
Subject: Testsuite? [was Re: Can't isearch for non-ASCII text]
Date: Wed, 7 Mar 2007 16:17:07 +1300

 > > Thanks I ended up with the same diagnostic and have installed a similar
 > > fix.
 > 
 > Thanks.  So, Lennart, now you can apply this change safely. ;-)
 > 
 > 2007-03-01  Lennart Borgman  <address@hidden>
 > 
 >      * isearch.el (isearch-message-prefix):
 >      Use minibuffer-prompt-properties.

I hope that's just a joke, and no more.  I think we should create a testsuite
to help stop such regressions.  This is difficult, of course, with a GUI
application but here's a suggestion for one approach:

Arrange for error to print to standard error when Emacs is run
non-interactively (actually I think it already does this).  Then for each bug
report that results in a Lisp error, we create a Lisp test file to reproduce
the conditions that generated it, put it in a directory called testsuite and
create a Makefile where:

make test

will run:

emacs --batch -l testxy.el

for each test file in the directory.

and check for output on standard error (I don't know how to do this in a
Makefile or from sh.

Currently I get some messages, e.g.,
"Loading /usr/share/emacs/site-lisp/site-start.d/..." on standard error but
I'm not sure why.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]