Commit e8c7a71b authored by Matthew Waters's avatar Matthew Waters 🐨

check: add a gdb-forever target

Unsurprisingly, runs a test in gdb until it fails somehow (or gdb does).

https://bugzilla.gnome.org/show_bug.cgi?id=790791
parent 3f4aa969
......@@ -94,7 +94,11 @@ AM_TESTS_ENVIRONMENT = CK_DEFAULT_TIMEOUT=20
@$(AM_TESTS_ENVIRONMENT) \
CK_FORK=no \
$(LIBTOOL) --mode=execute \
gdb $*
gdb $(GDB_ARGS) $*
%.gdb-forever: %
@while $(MAKE) GDB_ARGS="-ex run -ex quit" $*.gdb ; do \
sleep 1; done
%.lcov-reset:
$(MAKE) $*.lcov-run
......
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