Subject: 24.3.50; ert-run-tests-interactively difficult to abort

From: Helmut Eller <[email-masked]>
Date: Sun, 23 Feb 2014 15:48:50 +0100

When I run this file

(require 'ert)
(ert-deftest infloop0 () (while t))
(ert-deftest infloop1 () (while t))
(ert-deftest infloop2 () (while t))
(ert-deftest infloop3 () (while t))
(ert-deftest infloop4 () (while t))

with emacs -Q -nw -l infloops.el -eval "(ert t)"

I need to press C-g five times before ERT finally stops.

It would be much less annoying if ERT would quit after the first C-g.
This is especially important for test suites with more than 100 tests.

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2014-02-23 on ix
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux 7.1 (wheezy)