summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-10 18:47:51 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-10 18:47:51 +0200
commit3fa950f16cb2997bccd97475f75c5f3e37609dd3 (patch)
tree04386a22879ea9ca272733f2344518d4a68f3ae9
parentff477ee133fb448622cc86f658f1a9b23577e413 (diff)
add a small wrapper to call gdb in the framework setting
-rw-r--r--test/integration/framework4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index b80b02922..5a0e1070f 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -107,6 +107,10 @@ aptitude() {
LD_LIBRARY_PATH=${BUILDDIRECTORY} $(which aptitude) $*
fi
}
+gdb() {
+ echo "gdb: run »$*«"
+ APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${BUILDDIRECTORY} $(which gdb) ${BUILDDIRECTORY}/$1
+}
addtrap() {
CURRENTTRAP="$CURRENTTRAP $1"