Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@cygnus.com>
To: Scott Bambrough <scottb@netwinder.org>
Cc: GDB Patches Mail List <gdb-patches@sourceware.cygnus.com>
Subject: Re: RFA: Testsuite patches...
Date: Fri, 28 Jul 2000 13:43:00 -0000	[thread overview]
Message-ID: <3981F062.13C3373@cygnus.com> (raw)
In-Reply-To: <3981DCFE.9D99AB4F@netwinder.org>

Scott Bambrough wrote:
> 
> Fernando Nasser wrote:
> >
> > > 2000-07-26  Scott Bambrough <scottb@netwinder.org>
> > >         * gdb.base/environ.exp: Run tests for all targets.
> > >
> > > 2000-07-26  Scott Bambrough <scottb@netwinder.org>
> > >
> > >         * linux-thread.c (linux_threads_pid_to_str):  Change "Pid" to
> > >         "process" to allow gdb.base/environ.exp to pass all tests.
> > >         Change capitalization on "Thread" for consistency.
> > >
> > I forwarded the above change to the maintainers requesting their approval.
> 
> These two need to go hand in hand, otherwise we get failures in environ.exp.  I
> sent a response to Michael Snyder's comments about this to him yesterday.  I
> just realized it didn't go to the list; so I forwarded it to the list as well.
> I will wait to check these in until I hear about the change in linux-thread.c.
> I'm also been thinking that maybe I shouldn't enable this for all targets, the
> show/set/unset environment commands may fail on embedded targets.  They should
> work fine on any target that has an environment.  The info program tests should
> work on all targets.  Maybe this test should be split up?  Comments?
> 

Good point. You can activate it just for native targets.

if [is_remote target] 
  skip the tests.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299
From guo@cup.hp.com Fri Jul 28 13:49:00 2000
From: Jimmy Guo <guo@cup.hp.com>
To: gdb-patches@sourceware.cygnus.com
Subject: [PATCH] dejagnu lib/framework.exp
Date: Fri, 28 Jul 2000 13:49:00 -0000
Message-id: <Pine.LNX.4.10.10007281341530.8492-100000@hpcll168.cup.hp.com>
X-SW-Source: 2000-07/msg00357.html
Content-length: 1879

After picking up updates during the past ~30 days, gdb testing
sporadically issues UNRESOLVED messages for test points that look
perfectly fine (and there's no usual error / warning messages
accompanying these UNRESOLVED messages).

While I'm still scratching my head to root cause this annoyance, here is
a patch to the only one of a tiny number of dejagnu updates that is
questionable: compiler_conditional_xfail_data was made a global in
'proc fail' ... to be consistent 'proc pass' needs to do the same thing
as well.  However I'm not sure if somehow this would fix my problem ...


Fri Jul 28 13:39:27	Jimmy Guo	<guo@cup.hp.com>

	* lib/framework.exp (pass): make compiler_conditional_xfail_data
	a global, corresponding to a recent change to 'proc fail'.

Index: lib/framework.exp
/usr/local/bin/diff -c -L lib/framework.exp lib/framework.exp@@/main/cygnus/5 lib/framework.exp
*** lib/framework.exp
--- lib/framework.exp	Fri Jul 28 13:38:25 2000
***************
*** 672,685 ****
  # Record that a test has passed
  #
  proc pass { message } {
!     global xfail_flag
  
      # if we have a conditional xfail setup, then see if our compiler flags match
!     if [uplevel {info exists compiler_conditional_xfail_data}] {
! 	if [uplevel {check_conditional_xfail $compiler_conditional_xfail_data}] {
  	    set xfail_flag 1
  	}
! 	uplevel {unset compiler_conditional_xfail_data}
      }
      
      if $xfail_flag {
--- 672,685 ----
  # Record that a test has passed
  #
  proc pass { message } {
!     global xfail_flag compiler_conditional_xfail_data
  
      # if we have a conditional xfail setup, then see if our compiler flags match
!     if [ info exists compiler_conditional_xfail_data ] {
! 	if [check_conditional_xfail $compiler_conditional_xfail_data] {
  	    set xfail_flag 1
  	}
! 	unset compiler_conditional_xfail_data
      }
      
      if $xfail_flag {


  reply	other threads:[~2000-07-28 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <39803B5C.9C31BB15@netwinder.org>
     [not found] ` <3980469B.E0BD7ED2@cygnus.com>
2000-07-27  8:11   ` Scott Bambrough
2000-07-27 17:39   ` Andrew Cagney
2000-07-28 11:47 ` Fernando Nasser
2000-07-28 12:26   ` Scott Bambrough
2000-07-28 13:43     ` Fernando Nasser [this message]
2000-08-02 10:59 Donn Terry

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=3981F062.13C3373@cygnus.com \
    --to=fnasser@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=scottb@netwinder.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