2. After commits have been pushed to mainline, all buildbots must successfully
build and pass 'make check' on their next build of Folks. It's up to the
committer to ensure this requirement is met and make necessary changes.
+
+Debugging tests
+===============
+
+If a test ever crashes, you'll probably want to run it through gdb. The exact
+setup work for that is a bit complicated, so we've provided some convenience
+hooks for each test. Simply run:
+
+ make -C tests/<dir> <test name>.gdb
+
+Then use gdb as normal.
--- /dev/null
+# taken from gstreamer
+# gdb any given test by running make test.gdb
+%.gdb: %
+ $(TESTS_ENVIRONMENT) \
+ $(LIBTOOL) --mode=execute \
+ gdb $*
-include $(top_srcdir)/git.mk
-include $(top_srcdir)/valgrind.mk
+-include $(top_srcdir)/check.mk
-include $(top_srcdir)/git.mk
-include $(top_srcdir)/valgrind.mk
+-include $(top_srcdir)/check.mk
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/check.mk
-include $(top_srcdir)/git.mk
-include $(top_srcdir)/valgrind.mk
+-include $(top_srcdir)/check.mk
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/check.mk