diff options
author | Matthew Waters <matthew@centricular.com> | 2017-11-25 01:34:27 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2017-11-27 19:01:01 +1100 |
commit | e8c7a71bf3e2ee48f682011bd63d64a8c78ea3b6 (patch) | |
tree | e1445384562068c77fd853658164d653c662a1d0 | |
parent | 3f4aa969cbe39584a649d98d4cf321d78bd73092 (diff) | |
download | gstreamer-common-e8c7a71bf3e2ee48f682011bd63d64a8c78ea3b6.tar.gz |
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
-rw-r--r-- | check.mak | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |