mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
pyhttpd: Generate core dumps on crash and show them in the ci eventually.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -113,6 +113,7 @@ if ! test -v SKIP_TESTING; then
|
||||
|
||||
# Try to keep all potential coredumps from all processes
|
||||
sudo sysctl -w kernel.core_uses_pid=1 2>/dev/null || true
|
||||
ulimit -c unlimited 2>/dev/null || true
|
||||
|
||||
if ! test -v NO_TEST_FRAMEWORK; then
|
||||
if test -v WITH_TEST_SUITE; then
|
||||
@ -292,7 +293,7 @@ if ! test -v SKIP_TESTING; then
|
||||
fi
|
||||
fi
|
||||
|
||||
for core in `ls test/perl-framework/t/core{,.*} 2>/dev/null`; do
|
||||
for core in `ls test/perl-framework/t/core{,.*} test/gen/apache/core{,.*} 2>/dev/null`; do
|
||||
gdb -ex 'thread apply all backtrace full' -batch ./httpd "$core"
|
||||
RV=5
|
||||
done
|
||||
|
Reference in New Issue
Block a user