* gas/all/gas.exp (forward references): Don't test c30.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / vtable / vtable.exp
1 #
2 # vtable tests
3 #
4 proc run_list_test { name opts } {
5 global srcdir subdir
6 set testname "vtable $name"
7 set file $srcdir/$subdir/$name
8 gas_run ${name}.s $opts ">&dump.out"
9 if { [regexp_diff "dump.out" "${file}.l"] } then {
10 fail $testname
11 verbose "output is [file_contents "dump.out"]" 2
12 return
13 }
14 pass $testname
15 }
16
17 # Vtable bits are only supported by ELF targets.
18 if { ( [istarget "*-*-elf*"] || [istarget "*-*-linux*"])
19 && ![istarget *-*-linux*aout*]
20 && ![istarget *-*-linux*ecoff*]
21 && ![istarget *-*-linux*oldld*] } then {
22
23 # These tests are not (yet) supported on some targets.
24 setup_xfail "alpha*-*" "arc-*" "avr-*" "d30v-*"
25 setup_xfail "h8300*-*" "hppa*64*-*-*hpux*"
26 setup_xfail "i370-*" "i960-*" "ia64-*" "ip2k-*"
27 setup_xfail "mn10200-*" "or32-*" "sparc64*-*"
28 run_dump_test "inherit0"
29
30 # This particular test is supposed to fail..
31 run_list_test "inherit1" "-al"
32
33 setup_xfail "alpha*-*" "arc-*" "avr-*" "d30v-*"
34 setup_xfail "h8300*-*" "hppa*64*-*-*hpux*"
35 setup_xfail "i370-*" "i960-*" "ia64-*" "ip2k-*"
36 setup_xfail "mn10200-*" "or32-*" "sparc64*-*"
37
38 # The vtable entry results are different on Rel and Rela targets.
39 if {[istarget "arm*-*"]
40 || [istarget "arc-*"]
41 || [istarget "d10v-*"]
42 || [istarget "dlx-*"]
43 || [istarget "i*86-*"]
44 || [istarget "m32r-*"]
45 || [istarget "mips*-*"]
46 || [istarget "m68hc*-*"]
47 || [istarget "or32-*"]
48 || [istarget "strongarm*-*"]
49 || [istarget "xscale*-*"] } then {
50
51 run_dump_test "entry0"
52
53 } else {
54
55 run_dump_test "entry1"
56
57 }
58 }
This page took 0.032183 seconds and 5 git commands to generate.