Install debug packages on Ubuntu
This commit is contained in:
parent
23a26bf08b
commit
b117d981a5
@ -3,16 +3,15 @@
|
|||||||
# Find all possible core files under current directory. Attempt
|
# Find all possible core files under current directory. Attempt
|
||||||
# to determine exe using file(1) and dump stack trace with gdb.
|
# to determine exe using file(1) and dump stack trace with gdb.
|
||||||
#
|
#
|
||||||
say () { printf "\033[91m%s\033[39m\n" "$@" >&2; }
|
|
||||||
die () { say "$@"; exit 1; }
|
|
||||||
|
|
||||||
|
|
||||||
case $TESTENV in
|
case $TESTENV in
|
||||||
py34-cov)
|
py34-cov)
|
||||||
exe=/usr/bin/python3.4
|
exe=/usr/bin/python3.4
|
||||||
|
full=full
|
||||||
;;
|
;;
|
||||||
py3*-pyqt*)
|
py3*-pyqt*)
|
||||||
exe=$(readlink -f .tox/$TESTENV/bin/python)
|
exe=$(readlink -f .tox/$TESTENV/bin/python)
|
||||||
|
full=
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Skipping coredump analysis in testenv $TESTENV!"
|
echo "Skipping coredump analysis in testenv $TESTENV!"
|
||||||
@ -20,4 +19,4 @@ case $TESTENV in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
find . -name *.core -o -name core -exec gdb --batch --quiet -ex "thread apply all bt full" "$exe" {} \;
|
find . -name *.core -o -name core -exec gdb --batch --quiet -ex "thread apply all bt $full" "$exe" {} \;
|
||||||
|
@ -113,7 +113,7 @@ tox --version
|
|||||||
case $TESTENV in
|
case $TESTENV in
|
||||||
py34-cov)
|
py34-cov)
|
||||||
pip_install -r misc/requirements/requirements-codecov.txt
|
pip_install -r misc/requirements/requirements-codecov.txt
|
||||||
apt_install xvfb $pyqt_pkgs libpython3.4-dev gdb apport
|
apt_install xvfb $pyqt_pkgs libpython3.4-dev gdb apport libqt5webkit5-dbg python3-pyqt5-dbg python3-pyqt5.qtquick-dbg python3-pyqt5.qtwebkit-dbg python3-dbg
|
||||||
check_pyqt
|
check_pyqt
|
||||||
;;
|
;;
|
||||||
py3*-pyqt*)
|
py3*-pyqt*)
|
||||||
|
Loading…
Reference in New Issue
Block a user