Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jun 17, 2023
1 parent cd7036a commit d33f96a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/lib/common.pl
Expand Up @@ -80,10 +80,11 @@ sub run_program_test {
my @args = ($program);

subtest "$label - $program" => sub {
diag( "Program is $program" );
my( $override_file ) =
grep { m/ \/([0-9]+\.) \Q$label\E \.t \z/x }
grep { diag( "Looking at <$_>" ); m/ \/ ([0-9]+\.) \Q$label\E \.t \z/x }
glob( catfile( 't', basename($program), '*.t' ) );

diag( "Found override file <$override_file> for $program" );
if( -e $override_file ) {
diag( "Found $program specific override file" );
eval { use lib qw(.); require $override_file }
Expand Down

0 comments on commit d33f96a

Please sign in to comment.