Re: Some shortcomings in gtestutils

On Thu, 2013-02-21 at 11:12 +0000, Philip Withnall wrote:

Add the following in your
        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...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]