We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a23a16 commit 2ddf5e8Copy full SHA for 2ddf5e8
xt/dependent-modules.t
@@ -5,5 +5,16 @@ use Test::DependentModules 'test_all_dependents';
5
6
skip_all "ENV var TEST_DEPENDENTS not set" if not $ENV{TEST_DEPENDENTS};
7
8
+# duplicate error output into an array for later printing
9
+my @error_log;
10
+my $old = \&Test::DependentModules::_error_log;
11
+my $new = sub { push @error_log, @_; $old->(@_); };
12
+{ no warnings 'redefine'; *Test::DependentModules::_error_log = $new; }
13
+
14
test_all_dependents #
15
PPI => { exclude => qr/^(Apache2-SSI|Devel-IPerl|Padre)$/ };
16
17
+diag "\n\n---------- ERROR LOG START -----------\n\n",
18
+ @error_log,
19
+ "\n\n---------- ERROR LOG END -----------\n\n";
20
+done_testing;
0 commit comments