fixed subtest names

This commit is contained in:
git@daemon.de
2014-03-18 09:55:59 +01:00
parent d1c87d1001
commit 8336e57c43

View File

@@ -106,8 +106,7 @@ sub runtest {
if (exists $cfg->{test}) { if (exists $cfg->{test}) {
foreach my $test (keys %{$cfg->{test}}) { foreach my $test (keys %{$cfg->{test}}) {
my $name = "$test ($cfg->{test}->{$test}->{cmd})"; if (&runtest($cfg->{test}->{$test}, $test) == 0) {
if (&runtest($cfg->{test}->{$test}, $name) == 0) {
return 0; return 0;
} }
} }