diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-03-06 16:13:49 -0500 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-03-06 16:13:49 -0500 |
commit | d136a035e38e920f294aa71acce23a28fc6f5796 (patch) | |
tree | c670b40cfe849eda9ad320a09759a7e4f9925ff4 /modules/gallery_unit_test | |
parent | 121fee8c4e8ee88017df017eaf0638cde2dd8ec5 (diff) |
Explicitly print out the exit status to see if I can narrow down failures on Travis.
Diffstat (limited to 'modules/gallery_unit_test')
-rw-r--r-- | modules/gallery_unit_test/controllers/gallery_unit_test.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index 55d0abc1..cf2f7c99 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -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); } } } |