From 5d361c5a5ae2566d5200a027b4ed8b403b108b4f Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Wed, 26 Aug 2015 02:53:10 -0700 Subject: [PATCH] Better output for failed CI builds --- tests/run_tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 07ec2ed..ad36e73 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -42,5 +42,9 @@ if [ $fail_count -eq 0 ]; then echo -e "${GREEN}${pass_count} tests passed and ${fail_count} failed.${NORMAL}" else echo -e "${RED}${pass_count} tests passed and ${fail_count} failed.${NORMAL}" + echo -e "${RED}STDERR:${NORMAL}" + cat stderr.txt + echo -e "${RED}STDOUT:${NORMAL}" + cat stdout.txt exit 1 fi