From: Glenn Morris <rgm@gnu.org>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: 26337@debbugs.gnu.org
Subject: bug#26337: 26.0.50; Command to run tests with latest source
Date: Sun, 02 Apr 2017 11:27:52 -0400 [thread overview]
Message-ID: <sud1cug77r.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87vaqnnzth.fsf@calancha-pc> (Tino Calancha's message of "Sun, 02 Apr 2017 14:28:10 +0900")
Tino Calancha wrote:
> I often while debugging follow this workflow:
>
> 1) Make some changes in one branch.
> 2) Compile Emacs.
> 3) Run one test file with:
> M-& emacs -batch -l ert -l ? -f ert-run-tests-batch-and-exit RET
I use make for step 3. It seems natural after using it in step 2. Eg
cd test
make lisp/vc/ediff-ptch-tests.log
(till yesterday, it used to work without ".log" as well - see emacs-devel)
The test file names are completable using whatever your shell uses for
file name completion (eg alt-/ in bash). In emacs-25 they are completable
with bash TAB completion (from bash Makefile completion), which was nicer.
So personally I'm not sure I see the need to add an autoloaded ert
command to do this.
next prev parent reply other threads:[~2017-04-02 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 5:28 bug#26337: 26.0.50; Command to run tests with latest source Tino Calancha
2017-04-02 15:27 ` Glenn Morris [this message]
2017-04-03 3:41 ` Tino Calancha
2017-04-03 23:40 ` Glenn Morris
2017-04-04 0:33 ` Tino Calancha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sud1cug77r.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=26337@debbugs.gnu.org \
--cc=tino.calancha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.