summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2021-04-25 22:26:42 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2021-08-28 21:11:33 +0200
commit255ec5a46aa55ad96e7dc7f9d43d5cdf71627812 (patch)
treea582d854eeaa77907fe94baa0669bd7646cc1892 /debian
parentf3885ecec2d8ef1a35495d6c6b979d25d3da6d5c (diff)
Try to show core dump info in test framework
If the system tells us that a core dump was created we should try to display the contained info as that system might not be easily available when we see the error (like C-I or autopkgtest). Gbp-Dch: Ignore
Diffstat (limited to 'debian')
-rw-r--r--debian/tests/control2
-rw-r--r--debian/tests/run-tests1
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control
index a69965db4..446f0afcc 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -7,4 +7,4 @@ Depends: @, @builddeps@, dpkg (>= 1.20.8), fakeroot, wget, stunnel4, lsof, db-ut
gpgv1 | gpgv (<< 2),
libfile-fcntllock-perl, python3-apt, aptitude,
pkg-config,
- valgrind
+ valgrind, gdb-minimal | gdb
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
index 495f7edff..ff3359fae 100644
--- a/debian/tests/run-tests
+++ b/debian/tests/run-tests
@@ -22,4 +22,5 @@ APT_INTEGRATION_TESTS_INTERNAL_PLANNER=/usr/lib/apt/planners/apt \
APT_INTEGRATION_TESTS_BUILD_DIR=/usr/bin \
APT_INTEGRATION_TESTS_FTPARCHIVE_BIN_DIR=/usr/bin \
APT_INTEGRATION_TESTS_LIBRARY_PATH=/dev/null/does/not/exist \
+APT_INTEGRATION_TESTS_ARTIFACTS_DIR="${AUTOPKGTEST_ARTIFACTS}" \
./test/integration/run-tests -q