This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/8] Fixup testcases outputting own name as a test name


On 11/25/2016 12:02 PM, Simon Marchi wrote:
On 2016-11-25 12:55, Pedro Alves wrote:
Or just not pass anything about the target file?
"failed to compile" works just as well, IMO.  If you need more detail,
it's in the gdb.log.

Agreed, I think that's even better.  I was first thinking it would be
useful to have the dest file, in the cases where the same source file is
compiled multiple times to multiple destinations.  But you're right that
if you want details, you'll go look at gdb.log.  It's enough for the
test name to give a rough idea of what failed.

Great. I'll adjust things.

Should i get the existing tests that already output srcfile paths on compilation failures fixed up and standardized with this patch as well or with a separate one?

I'd hate to fix some of these up and leave other offenders lying around.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]