Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: Gary Benson <gbenson@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [committed][gdb/testsuite] Update psym-external-decl.exp for gcc-10/clang
Date: Wed, 17 Jun 2020 15:56:18 +0200	[thread overview]
Message-ID: <d884684e-c952-1a7c-61e3-1f7489575a9f@suse.de> (raw)
In-Reply-To: <20200617122432.GA28940@blade.nx>

On 6/17/20 2:24 PM, Gary Benson wrote:
> Tom de Vries wrote:
>> Fix the test-case [with gcc-10] by adding a use of aaa in psym-external-decl.c.
> ... 
>> That still doesn't work for clang, so skip test in that case.
> ..
>> diff --git a/gdb/testsuite/gdb.base/psym-external-decl.exp b/gdb/testsuite/gdb.base/psym-external-decl.exp
>> index bbcc2745755..d0388d5655e 100644
>> --- a/gdb/testsuite/gdb.base/psym-external-decl.exp
>> +++ b/gdb/testsuite/gdb.base/psym-external-decl.exp
>> @@ -15,6 +15,11 @@
>>  
>>  standard_testfile .c psym-external-decl-2.c
>>  
>> +get_compiler_info
>> +if { [test_compiler_info "clang-*"] } {
>> +    return -1
>> +}
>> +
>>  set srcfiles [list $srcfile $srcfile2]
>>  
>>  if { [build_executable_from_specs \
> 
> Tom, I'd like this testcase to not fail silently.  Is the
> functionality under test something that isn't ever expected to work
> with clang, or is this a test that should pass with clang (but it
> currently doesn't, for whatever reason)?
> 

Hi Gary,

I'm not sure.  The test can pass with clang, provided it generates the
required debug info.  It currently doesn't.  Why that is the case, I
have no idea.

Thanks,
- Tom

> If the former (it isn't ever expected to work), can this test please
> call to unsupported/untested, so there's at least something in the
> .sum file?  If it's the latter (the test should pass, but it doesn't),
> can the skip-the-test block please be removed, so the test can fail?
> 
> Whichever it is, I'm happy to make the commit, or you can if you
> like, I'm easy.
> 
> Thanks,
> Gary
> 


  reply	other threads:[~2020-06-17 13:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02  7:51 Tom de Vries
2020-06-17 12:24 ` Gary Benson
2020-06-17 13:56   ` Tom de Vries [this message]
2020-06-18 16:10     ` Gary Benson
2020-06-18 16:27       ` Tom de Vries
2020-06-19 14:00         ` Gary Benson
2020-06-19 14:06           ` Tom de Vries
2020-06-26  9:37             ` Gary Benson
2020-06-28 10:50               ` Tom de Vries
2020-06-29 12:32                 ` Pedro Alves
2020-06-30  8:14                   ` Tom de Vries
2020-07-03  9:21                     ` Gary Benson
2020-07-03 11:20                       ` Pedro Alves
2020-07-03 11:24                         ` Tom de Vries
2020-07-03 11:32                           ` Pedro Alves
2020-07-03 12:50                             ` Tom de Vries

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=d884684e-c952-1a7c-61e3-1f7489575a9f@suse.de \
    --to=tdevries@suse.de \
    --cc=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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