Commit 4b7db869 authored by Philip Withnall's avatar Philip Withnall

Bug 685250 — make <test>.gdb deadlocks

Always set CHECK_VERBOSE when running tests under gdb so that output (from
gdb) isn’t redirected to a log file. Apparently, headless gdb is hard to
use.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685250
parent e177ff3b
......@@ -10,6 +10,7 @@ Bugs fixed:
• Bug 682941 — API to configure input of aggregation
• Bug 685084 — Add a folks backend for ofono phonebook
• Bug 686056 — Add api to create and remove address books
• Bug 685250 — make <test>.gdb deadlocks
API changes:
• Add Backend.enable_persona_store and disable_persona_store.
......
# taken from gstreamer
# gdb any given test by running make test.gdb
%.gdb: %
CHECK_VERBOSE=1 \
$(TESTS_ENVIRONMENT) \
$(LIBTOOL) --mode=execute \
gdb $*
......@@ -19,7 +19,9 @@ fi
# if exit code is 0, check for skipped tests
if test z$e = z0; then
grep -i skipped capture-$$.log || true
if test -f capture-$$.log; then
grep -i skipped capture-$$.log || true
fi
rm -f capture-$$.log
# exit code is not 0, so output log and exit
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment