[asterisk-commits] russell: testsuite/bamboo/trunk r336 - /bamboo/trunk/bin/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 3 16:17:54 CDT 2010
Author: russell
Date: Thu Jun 3 16:17:51 2010
New Revision: 336
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=336
Log:
grab a backtrace if a core dump is found after running unit tests
Added:
bamboo/trunk/bin/bt.txt (with props)
Modified:
bamboo/trunk/bin/build-asterisk.sh
Added: bamboo/trunk/bin/bt.txt
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/bt.txt?view=auto&rev=336
==============================================================================
--- bamboo/trunk/bin/bt.txt (added)
+++ bamboo/trunk/bin/bt.txt Thu Jun 3 16:17:51 2010
@@ -1,0 +1,6 @@
+set prompt
+set print pretty
+set pagination off
+bt
+bt full
+quit
Propchange: bamboo/trunk/bin/bt.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: bamboo/trunk/bin/bt.txt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: bamboo/trunk/bin/bt.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: bamboo/trunk/bin/build-asterisk.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk.sh?view=diff&rev=336&r1=335&r2=336
==============================================================================
--- bamboo/trunk/bin/build-asterisk.sh (original)
+++ bamboo/trunk/bin/build-asterisk.sh Thu Jun 3 16:17:51 2010
@@ -67,6 +67,11 @@
break
fi
done
+
+ if [ -f core* ] ; then
+ echo "*** Found a core file after running unit tests ***"
+ gdb asterisk core* -x /usr/local/bin/bamboo/bt.txt
+ fi
}
export PATH=/usr/lib/ccache:/usr/local/libexec/ccache:/usr/local/sbin:${PATH}
More information about the asterisk-commits
mailing list