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: [RFA] Fix setting of VSX registers


>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:

Tom> I don't understand why the new gdb_test calls have an empty "message"
Tom> argument.

Thiago> So that they don't increase the test count. They are just sending
Thiago> command to GDB to set the stage for the actual tests, they're of no
Thiago> intrinsic interest to the testcase.

Yeah, that makes sense.  This is a sort of generic problem in dejagnu.

Anyway, I am not sure this approach will work, because gdb_test calls
gdb_test_multiple, which has a different default and which also may call
'fail'.

One approach would be to refactor these procs so that your use can work.
I think this would be nice to have -- I think it would be good to have
fewer boilerplate tests with "synthetic" names, ones that nobody is
interested in.

Another approach would be to just give up and add a new test.  That is
sort of more traditional ;-)

Tom


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