This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Report useful file names and line numbers from run_multiple_progs().
authorNicholas Clark <nick@ccl4.org>
Mon, 15 Jul 2013 09:27:22 +0000 (11:27 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 22 Jul 2013 08:04:48 +0000 (10:04 +0200)
commit417323690fc1ca1b91829e3eb41b21b7874a7dba
tree49538616a311ef55755181e3e9d1a4bae5da0605
parentf03aef051fa2e50249e8ba218234325ac3eed89b
Report useful file names and line numbers from run_multiple_progs().

Previously if tests in run_multiple_progs() failed the report gave the file
name and line number of the ok() call in run_multiple_progs(). Now, where
possible, report the file and line of the actual test program. If this
information isn't available, report the error at the file and line which
called run_multiple_progs().

This will improve error reporting from lib/charnames.t, lib/feature.t,
lib/strict.t, lib/subs.t, lib/warnings.t and t/lib/croak.t
t/test.pl