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: FYI: fix test name in gdb-index.exp


Doug> TIL: It's not just that test names have to be unique, but they can no
Doug> longer include build directory names because the latter can be machine
Doug> generated, and when diff'ing before/after runs it can lead to spurious
Doug> output needing investigating.

Yeah, I think it's actually always been that way.
I've fixed a number of these over the years.

Basically anything that makes the test names differ across runs is bad.
This is hard to fix in the general case but something like the directory
name is an easy one.

Doug> Good to know, thanks.  And good thing to add to the testcase cookbook.

Will do.

Tom


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