run-px: exit with failure if unknown exit codes.

This commit is contained in:
Micah Cowan 2009-09-07 23:11:48 -07:00
parent f3203b8626
commit 46d60a374a
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2009-09-07 Micah Cowan <micah@cowan.name>
* run-px: Exit with a failure if there were any tests with
"unknown" exit statuses.
* Test-auth-with-content-disposition.px: New. Test Content-Disposition
support when HTTP authentication is required.
* run-px, Makefile.am (EXTRA_DIST): Added

View File

@ -148,9 +148,9 @@ my $summary = sub
}->();
print "\n";
print $count->('fail')
print $count->('fail') || $count->('unknown')
? colored($summary, 'red')
: colored($summary, 'green');
print "\n";
exit $count->('fail');
exit $count->('fail') + $count->('unknown');