r22464 - gnucash/trunk/src/backend/dbi/test - Enable and correct all store-and-reload basic tests

Alex Aycinena alex.aycinena at gmail.com
Fri Nov 2 19:08:41 EDT 2012


On Fri, Nov 2, 2012 at 3:35 PM, John Ralls <jralls at ceridwen.us> wrote:
>
> On Oct 31, 2012, at 9:34 AM, Derek Atkins <derek at ihtfp.com> wrote:
>
>>> ----- Reply message -----
>>> From: "Alex Aycinena" <alex.aycinena at gmail.com>
>>> Date: Wed, Oct 31, 2012 12:18 PM
>>>
>>> John,
>>>
>>> Just out of curiousity, do you know of any way to run the tests under
>>> gdb to step through them and see exactly where they fail? Since they
>>> are run from within make I've never been able to figure out how to do
>>> that.
>>>
>>
>> You need to modify the script to "exec gdb $program" ..
>>
>
>
> No, don't do that. That's a real PITA, because the script gets rewritten every time you fix something. Do this instead:
>
> ../../../../libtool --mode=execute gdb test-backend-dbi
>
> You could save some thinking and typing by
> export LT=`pwd`/libtool
> from your top build directory and then you can do
> $LT --mode=execute gdb test-backend-dbi
> after cd-ing to the test directory.
>
> Regards,
> John Ralls
>

John,

Thanks, your latest commit fixed make check and I tried the above and
it worked. I'll use it in the future.

Regards,

Alex


More information about the gnucash-devel mailing list