if (defined $meta->{results}) {
delete $meta->{results}[$_]{time} for keys @{$meta->{results}};
}
- is $meta->{result}, $meta->{expected_result}, "Result is correct";
- is $meta->{result_text}, $meta->{expected_result_text}, "Result text is correct";
- is_deeply $meta->{results}, $meta->{expected_results}, "Results are correct";
+ my $desc = $meta->{name} . ': ' . $meta->{test_name};
+ is $meta->{result}, $meta->{expected_result}, "Result is correct ($desc)";
+ is $meta->{result_text}, $meta->{expected_result_text}, "Result text is correct ($desc)";
+ is_deeply $meta->{results}, $meta->{expected_results}, "Results are correct ($desc)";
}
my @problems = exists $ENV{TEST_PROBLEMS} ? map {"t/problems/$_"} split ' ', $ENV{TEST_PROBLEMS} : <t/problems/*>;