This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Skipping tests that use remote protocol
- From: "Breazeal, Don" <donb at codesourcery dot com>
- To: "Qi, Yao" <Yao_Qi at mentor dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 15 Dec 2014 10:03:15 -0800
- Subject: Re: [PATCH] Skipping tests that use remote protocol
- Authentication-results: sourceware.org; auth=none
- References: <1418344896-9036-1-git-send-email-donb at codesourcery dot com> <877fxxzhmx dot fsf at codesourcery dot com> <548B3B3B dot 5060709 at codesourcery dot com> <87mw6pt98q dot fsf at codesourcery dot com>
On 12/15/2014 3:58 AM, Qi, Yao wrote:
> "Breazeal, Don" <donb@codesourcery.com> writes:
>
>> [target_info exists use_gdb_stub] alone would work for the attach
>> tests,
>
> I am afraid not. attach tests should be skipped on remote host testing
> (build != host, host == target) too, because test program is spawned on
> build, and the corresponding pid (on build) is used for gdb (on host) to
> attach.
>
Ah. Right.
> Some tests have to be skipped on remote targets, and even on other
> targets. I'd like to list all of them (tests having troubles running on
> remote target), and then figure out how to fix them. We can use a
> standard approach if necessary.
>
OK. I will start with all of the various attach tests for now.
--Don