From: Michael Snyder <msnyder@vmware.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
Stan Shebs <stan@codesourcery.com>
Subject: Re: [RFA] gdb.trace/*.exp send_gdb vs. gdb_test
Date: Wed, 02 Jun 2010 19:42:00 -0000 [thread overview]
Message-ID: <4C06B438.1090508@vmware.com> (raw)
In-Reply-To: <201005272350.40581.pedro@codesourcery.com>
Pedro Alves wrote:
> On Thursday 27 May 2010 20:08:40, Michael Snyder wrote:
>> Pedro Alves wrote:
>>> On Thursday 27 May 2010 19:18:37, Michael Snyder wrote:
>>>> This patch should get extra-thorough review and preferably be tested by
>>>> the tracepoint maintainers, since I wasn't able to test all of it.
>>> Did you test it against gdbserver x86 or x86_64? That should cover it:
>>>
>>> <http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration>
>> OK thanks. They all work except for limits.exp, which does not run
>> because it tests "tstatus" before it executes "target remote".
>
> Thanks for testing. Indeed, I had never noticed that. I can't say
> I'm fond of the:
>
> "We generously give ourselves one "pass" if we
> successfully detect that this test cannot be run on this target!"
>
> pattern in this tests. :-) I wonder who shall I complain
> about that to. ;-)
>
> Let me try to fix that before you commit. Should be simple.
> Other tests had the same issue, and I thought I had fixed them
> all, but obviously this one slipped.
>
> I took a look at your patch.
>
>> -send_gdb "list $baseline, +12\n"
>> -gdb_expect {
>> +gdb_test_multiple "list $baseline, +12" "all tests in this module will fail" {
>> -re "\[\r\n\](\[0-9\]+).*gdbtestline 1 " {
>> set testline1 $expect_out(1,string)
>> exp_continue
>> @@ -108,7 +107,7 @@ all tests in this module will fail."
>> untested backtrace.exp
>> return -1
>> all tests in this module will fail."
>> - }
>> + }
>> }
>>
>
> Can you do the return outside of gdb_test_multiple please?
> I saw a few other instances in tfind.exp. Otherwise, looked fine.
Done and committed. By the way, would you take a look at the
diff just above? What is "all tests in this module will fail"
doing there? The same thing appears in both backtrace.exp and
report.exp.
next prev parent reply other threads:[~2010-06-02 19:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 18:22 Michael Snyder
2010-05-27 18:44 ` Pedro Alves
2010-05-27 19:14 ` Michael Snyder
2010-05-27 23:15 ` Pedro Alves
2010-05-27 23:25 ` Pedro Alves
2010-05-28 0:18 ` Michael Snyder
2010-05-29 0:41 ` Pedro Alves
2010-06-02 19:42 ` Michael Snyder [this message]
2010-06-02 21:58 ` Pedro Alves
2010-06-02 22:08 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C06B438.1090508@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
--cc=stan@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox