aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test-common.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-01-14 20:17:20 +0000
committerGerald Combs <gerald@wireshark.org>2013-01-14 20:17:20 +0000
commitaafa77c6f4bab4d2ca32e52c5ad577b4d023d0b0 (patch)
tree210b05d9f08cb7d3333914822fa6217f013505ca /tools/test-common.sh
parent6be760c512935b41a39179f4b43636293323fbb6 (diff)
Try to show what condition triggered a failure.
svn path=/trunk/; revision=47079
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-xtools/test-common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh
index 0484c866cc..c1391a4959 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -114,6 +114,10 @@ function exit_error() {
env | grep "^BUILDBOT_" >> $TMP_DIR/${ERR_FILE}.header
fi
+ echo -e "\nReturn value: " $RETVAL >> $TMP_DIR/${ERR_FILE}.header
+ echo -e "\nDissector bug: " $DISSECTOR_BUG >> $TMP_DIR/${ERR_FILE}.header
+ echo -e "\nValgrind error count: " $VG_ERR_CNT >> $TMP_DIR/${ERR_FILE}.header
+
echo -e "\n" >> $TMP_DIR/${ERR_FILE}.header
if [ -d .svn ] ; then