5 use autodie qw( :all );
7 use Path::Class qw( dir );
9 system( qw( prove -v t/00-prereq.t ) );
12 sort grep { !$_->is_dir() && $_->basename() =~ /^(?:0[1-9]|[1-9])/ }
13 dir('t')->children() ) {
15 ( my $t_less = $t_file->basename() ) =~ s/\.t$//;
17 my $lib = dir('answers')->subdir($t_less);
19 die "No lib dir for $t_file" unless -d $lib;
21 system( 'prove', '-I', $lib, '-v', $t_file );