From d136a035e38e920f294aa71acce23a28fc6f5796 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 6 Mar 2013 16:13:49 -0500 Subject: Explicitly print out the exit status to see if I can narrow down failures on Travis. --- modules/gallery_unit_test/controllers/gallery_unit_test.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules') 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); } } } -- cgit v1.2.3