~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to ld/testsuite/ld-selective/sel-dump.exp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-03-18 13:07:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050318130752-j4i37zgqclj53b94
Tags: 2.15-5ubuntu2
debian/rules: Call pkgstriptranslations if present (the package does not
use debhelper, thus it does not happen automatically).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
# Test for ELF here, so we don't have to qualify on ELF specifically
19
19
# in every .d-file.
20
 
 
21
 
if { ![istarget *-*-linux*]
22
 
     && ![istarget *-*-gnu]
23
 
     && ![istarget hppa*64*-*-hpux*]
24
 
     && ![istarget *-*-elf] } {
25
 
    return
26
 
}
27
 
 
28
 
if { [istarget *-*-linux*aout*] \
29
 
     || [istarget *-*-linux*oldld*] } {
30
 
    return
31
 
}
32
 
 
33
 
load_lib ld-lib.exp
 
20
if ![is_elf_format] {
 
21
    return
 
22
}
34
23
 
35
24
set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
36
25
for { set i 0 } { $i < [llength $test_list] } { incr i } {
37
26
    # We need to strip the ".d", but can leave the dirname.
38
27
    verbose [file rootname [lindex $test_list $i]]
 
28
    setup_xfail "alpha*-*" "arc*-*" "d30v*-*" "dlx*-*" "i370*-*" "i860*-*"
 
29
    setup_xfail "i960*-*" "ia64*-*" "mn10200-*" "or32-*" "pj-*" "sparc64*-*"
39
30
    run_dump_test [file rootname [lindex $test_list $i]]
40
31
}