Re: Re-running curl tests

2023-10-24 Thread Daniel Stenberg via curl-library
On Tue, 24 Oct 2023, Jeffrey Walton via curl-library wrote: Maybe someone can comment on using gdb to debug a particular codepath in the library from the test suite. It's very simple: cd tests ./runtests.pl -g [num] ... and it'll fire up gdb for you running the test case. -- / daniel.ha

Re: Re-running curl tests

2023-10-24 Thread Jacob Hoffman-Andrews via curl-library
Very helpful, thanks! Jeffrey Walton said: > Since you mentioned debugging, I'm not sure if you are trying to run a particular test under gdb or similar. I'm not (currently) trying to run under gdb. I just meant debugging in the general sense of "what's wrong with this test." Though I may wind up

Re: Re-running curl tests

2023-10-24 Thread Ray Satiro via curl-library
On 10/24/2023 1:56 PM, Jacob Hoffman-Andrews via curl-library wrote: I often have trouble efficiently debugging curl tests, and I wanted to ask if I'm doing it wrong, and/or if there are improvements possible. My workflow is like this: If I notice a set of tests are failing, I will usually run

Re: Re-running curl tests

2023-10-24 Thread Jeffrey Walton via curl-library
On Tue, Oct 24, 2023 at 1:56 PM Jacob Hoffman-Andrews via curl-library wrote: > > I often have trouble efficiently debugging curl tests, and I wanted to ask if > I'm doing it wrong, and/or if there are improvements possible. > > My workflow is like this: If I notice a set of tests are failing, I