This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH] dejagnu lib/framework.exp


FYI I've commited the patch.

On Fri, 28 Jul 2000, Jimmy Guo wrote:

> ... compiler_conditional_xfail_data was made a global in
>'proc fail' ... to be consistent 'proc pass' needs to do the same thing
>as well.  ...
>
>
>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 {



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