From: Remi Lespinet Date: Tue, 23 Jun 2015 20:15:07 GMT Subject: [PATCH v5 07/10] send-email: reduce dependancies impact on parse_address_line Message-ID: <69022894.748633.1435090507744.JavaMail.zimbra@ensimag.grenoble-inp.fr> In-Reply-To: <1692637261.3463890.1434881256090.JavaMail.zimbra@imag.fr> Matthieu Moy writes: > > We can redirect todo_output to a variable but I've not found better... > > (Maybe someone has the solution here ?). Also there's no summary at > > the end of the test (as with other perl tests). > > You can get the 1..44 at the end with > > printf "1..%d\n", Test::More->builder->current_test; > > This is what t9700/test.pl does. I can also get it by removing the line Test::More->builder->no_ending(1); and replacing use Test::More; by use Test::More "no_plan"; I think I'm going to do that, because the no_ending thing makes the test suite success even if every test fails: at the end we have # test_external test Perl address parsing function was ok # test_external_without_stderr test no stderr: Perl address parsing function was ok in case everything is ok. With the "no_ending" line, only the second line reports failures, the first is always the same. I think both must be marked red.