Exit 1 if tests fail for Travis

This commit is contained in:
Devin Torres 2013-09-20 19:56:49 -05:00
parent 007453cfd9
commit 1c9393291e

View file

@ -102,6 +102,7 @@ my $time_end = new Benchmark;
my $time_diff = timediff($time_end, $time_start); my $time_diff = timediff($time_end, $time_start);
print "Benchmark: ", timestr($time_diff), "\n"; print "Benchmark: ", timestr($time_diff), "\n";
exit 1 if $tests_failed;
__END__ __END__