Skip to content

Commit

Permalink
add junit test results target
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Rousse authored and Guillaume Rousse committed Jan 6, 2012
1 parent 7568e64 commit cab7edb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile.PL
Expand Up @@ -202,3 +202,15 @@ fusioninventory-agent.1.html: fusioninventory-agent
EOF
return $manifypods;
}

sub test {
my ($self) = @_;
my $test = $self->SUPER::test(@_);

$test .= <<'EOF';
junit.xml:
prove -l --recurse --formatter TAP::Formatter::JUnit t > junit.xml
EOF

return $test;
}

0 comments on commit cab7edb

Please sign in to comment.