From: Stefan Beller Date: Tue, 27 Oct 2015 23:39:37 GMT Subject: Re: [PATCH 3/6] Facilitate debugging Git executables in tests with gdb Message-ID: In-Reply-To: <20151027232848.GA4172@sigill.intra.peff.net> On Tue, Oct 27, 2015 at 4:28 PM, Jeff King wrote: > I agree doing so would be crazy. But would: > > ./t1234-frotz.sh --gdb=17 > > be sane to run gdb only inside test 17? OT: We have two ways of addressing tests, by number and by name. Usually when a test fails ("Foo gobbles the bar correctly" failed), I want to run tests 1,17 (1 is the correct setup and 17 is the failing test) But coming up with that tuple is hard. * How do I know we need to run 1 as the setup ? (usually we do, sometimes we don't and other times we also need 2,3 to completely setup the tests) * How do I know it's test 17 which is failing? My workflow up to now I just searched the test title in the file, such that I'd be there anyway to inspect it further. But still I found it inconvenient to mentally map between 17 and the test title. Stefan