Browse Source

tests: set source directory for gdb

Helps interactive gdb calls find the source code.

Gbp-Dch: Ignore
tags/debian/1.3_rc2
David Kalnischkies 5 years ago
parent
commit
f036d9bb53
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/integration/framework

+ 1
- 1
test/integration/framework View File

@@ -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


Loading…
Cancel
Save