Bio-BPWrapper
view release on metacpan or search on metacpan
t/Helper.pm view on Meta::CPAN
open(RIGHT_FH, "<$full_check_filename") ||
die "Cannot open $full_check_filename for reading - $OS_ERROR";
undef $INPUT_RECORD_SEPARATOR;
my $right_string = <RIGHT_FH>;
($output, $right_string) = $other_opts->{filter}->($output, $right_string)
if $other_opts->{filter};
my $got_filename;
$got_filename = $ext_file->('got');
# TODO : Perhaps make sure we optionally use eq_or_diff from
# Test::Differences here.
my $equal_output = $right_string eq $output;
Test::More::ok($right_string eq $output, 'Output comparison')
if $other_opts->{do_test};
unlink $err_filename if -z $err_filename;
if ($equal_output) {
unlink $got_filename;
return 0;
} else {
open (GOT_FH, '>', $got_filename)
or die "Cannot open '$got_filename' for writing - $OS_ERROR";
( run in 2.217 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )