bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tidy ups in gas/testsuite/gas/all/gas.exp


From: Nick Clifton
Subject: Tidy ups in gas/testsuite/gas/all/gas.exp
Date: 19 Apr 2002 10:39:29 +0100

Hi Guys,

  I am applying the patch below to fix a problem int he gas.exp test
  driver and to simplify the layout of a couple more tests so that it
  is easier to add more exceptions in the future.

Cheers
        Nick

2002-04-19  Nick Clifton  <address@hidden>

        * gas/all/gas.exp (cofftag): Do not run test for xscale-coff
        toolchain.
        (struct, align, incbin): Use case switch so that other targets to
        be skipped can be added in the future.

Index: gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.10
diff -c -3 -p -w -r1.10 gas.exp
*** gas/all/gas.exp     25 Nov 2001 15:21:58 -0000      1.10
--- gas/all/gas.exp     19 Apr 2002 09:37:43 -0000
*************** case $target_triplet in {
*** 115,121 ****
  # We omit the ARM toolchains because they define locals to
  #  start with '.', which eliminates .eos, .text etc from the output.
  # Omit c54x, since .tag and .def mean something different on that target
! if {   ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget 
*arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget *c54x*-*-coff]) \
       ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget 
thumb*-*-pe*]) \
       || [istarget a29k-*-udi*] \
       || [istarget a29k-*-ebmon*] \
--- 115,121 ----
  # We omit the ARM toolchains because they define locals to
  #  start with '.', which eliminates .eos, .text etc from the output.
  # Omit c54x, since .tag and .def mean something different on that target
! if {   ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget 
*arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && 
![istarget *c54x*-*-coff]) \
       ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget 
thumb*-*-pe*]) \
       || [istarget a29k-*-udi*] \
       || [istarget a29k-*-ebmon*] \
*************** proc test_cond {} {
*** 156,164 ****
  # not limited to the fact that it depends on specific section
  # names appearing in the output file.
  # again, p2align doesn't work on c54x target
! if { ![istarget *c54x*-*-*] && ![istarget hppa*-*-*] } then {
      test_cond
      run_dump_test incbin
  }
  
  # FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer
--- 156,168 ----
  # not limited to the fact that it depends on specific section
  # names appearing in the output file.
  # again, p2align doesn't work on c54x target
! case $target_triplet in {
!     { hppa*-*-* } { }
!     { *c54x*-*-* } { }
!     default {
          test_cond
          run_dump_test incbin
+     }
  }
  
  # FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]