From: David Kalnischkies Date: Tue, 16 Aug 2016 05:38:18 +0000 (+0200) Subject: tests: set source directory for gdb X-Git-Tag: 1.3_rc2~7 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/f036d9bb539a5ed2b4c43a0c26a9cdfa5671298b tests: set source directory for gdb Helps interactive gdb calls find the source code. Gbp-Dch: Ignore --- diff --git a/test/integration/framework b/test/integration/framework index 8a95d79bb..8d124858b 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -216,7 +216,7 @@ gdb() { if [ "${CMD##*/}" = "$CMD" ]; then CMD="${BUILDDIRECTORY}/${CMD}" fi - runapt command gdb --quiet -ex run "$CMD" --args "$CMD" "$@" + runapt command gdb --quiet -ex "directory '$SOURCEDIRECTORY'" -ex run "$CMD" --args "$CMD" "$@" } lastmodification() { date -u -d "@$(stat -c '%Y' "${TMPWORKINGDIRECTORY}/$1")" -R