Re: Some shortcomings in gtestutils
- From: Federico Mena Quintero <federico gnome org>
- To: philip tecnocode co uk
- Cc: gtk-devel-list gnome org
- Subject: Re: Some shortcomings in gtestutils
- Date: Thu, 21 Feb 2013 18:49:18 -0600
On Thu, 2013-02-21 at 11:12 +0000, Philip Withnall wrote:
Add the following in your Makefile.am:
TESTS_ENVIRONMENT = libtool --mode=execute gdb
Then run `make check` as normal, and magically all of your tests will be
run under gdb.
If you just want to run a specific test binary under gdb, use `make
check TESTS=my-test-binary`
Damn, this is why I love you, people.
Thanks! Clearly I have to read the automake manual more thoroughly...
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]