Explicitly print out the exit status to see if I can narrow down failures on Travis.

This commit is contained in:
Bharat Mediratta
2013-03-06 16:13:49 -05:00
parent 121fee8c4e
commit d136a035e3
@@ -150,7 +150,9 @@ class Gallery_Unit_Test_Controller extends Controller {
// Let the CLI caller know whether all tests passed or not,
// to allow usage of continuous integration servers.
if (PHP_SAPI == 'cli') {
exit($all_tests_passed ? 0 : 1);
$exit_status = $all_tests_passed ? 0 : 1;
print "Exit: $exit_status\n";
exit($exit_status);
}
}
}