Browse Source

sim: testsuite: cleanup the istarget * logic

Now that the multitarget testing has settled, clean up the cases where
istarget * is used.  This ends up being mostly style unindenting.
gdb-12-branch
Mike Frysinger 5 years ago
parent
commit
d0b2f561a1
  1. 5
      sim/testsuite/aarch64/allinsn.exp
  2. 6
      sim/testsuite/arm/allinsn.exp
  3. 6
      sim/testsuite/arm/iwmmxt/iwmmxt.exp
  4. 6
      sim/testsuite/arm/misc.exp
  5. 6
      sim/testsuite/arm/thumb/allthumb.exp
  6. 6
      sim/testsuite/arm/xscale/xscale.exp
  7. 5
      sim/testsuite/avr/allinsn.exp
  8. 5
      sim/testsuite/bfin/allinsn.exp
  9. 6
      sim/testsuite/bpf/allinsn.exp
  10. 6
      sim/testsuite/cr16/allinsn.exp
  11. 6
      sim/testsuite/cr16/misc.exp
  12. 2
      sim/testsuite/cris/asm/asm.exp
  13. 5
      sim/testsuite/d10v/allinsn.exp
  14. 5
      sim/testsuite/example-synacor/allinsn.exp
  15. 3
      sim/testsuite/frv/allinsn-a-b.exp
  16. 3
      sim/testsuite/frv/allinsn-c.exp
  17. 3
      sim/testsuite/frv/allinsn-d-h.exp
  18. 3
      sim/testsuite/frv/allinsn-i-l.exp
  19. 3
      sim/testsuite/frv/allinsn-m.exp
  20. 3
      sim/testsuite/frv/allinsn-n.exp
  21. 3
      sim/testsuite/frv/allinsn-o-s.exp
  22. 3
      sim/testsuite/frv/allinsn-t-z.exp
  23. 5
      sim/testsuite/frv/fr400/allinsn.exp
  24. 5
      sim/testsuite/frv/fr500/allinsn.exp
  25. 5
      sim/testsuite/frv/fr550/allinsn.exp
  26. 5
      sim/testsuite/frv/interrupts.exp
  27. 5
      sim/testsuite/frv/misc.exp
  28. 5
      sim/testsuite/frv/parallel.exp
  29. 5
      sim/testsuite/ft32/allinsn.exp
  30. 6
      sim/testsuite/h8300/allinsn.exp
  31. 5
      sim/testsuite/iq2000/allinsn.exp
  32. 5
      sim/testsuite/lm32/allinsn.exp
  33. 5
      sim/testsuite/m32c/allinsn.exp
  34. 7
      sim/testsuite/m32r/allinsn.exp
  35. 7
      sim/testsuite/m32r/misc.exp
  36. 5
      sim/testsuite/m68hc11/allinsn.exp
  37. 5
      sim/testsuite/mcore/allinsn.exp
  38. 5
      sim/testsuite/microblaze/allinsn.exp
  39. 5
      sim/testsuite/mn10300/allinsn.exp
  40. 5
      sim/testsuite/moxie/allinsn.exp
  41. 5
      sim/testsuite/msp430/allinsn.exp
  42. 5
      sim/testsuite/or1k/alltests.exp
  43. 5
      sim/testsuite/pru/allinsn.exp
  44. 5
      sim/testsuite/riscv/allinsn.exp
  45. 2
      sim/testsuite/sh/allinsn.exp
  46. 5
      sim/testsuite/v850/allinsns.exp

5
sim/testsuite/aarch64/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "aarch64"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/arm/allinsn.exp

@ -2,18 +2,14 @@
sim_init
if { [istarget *] } {
# all machines
set all_machs "xscale"
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/arm/iwmmxt/iwmmxt.exp

@ -2,18 +2,14 @@
sim_init
if { [istarget *] } {
# all machines
set all_machs "xscale"
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/arm/misc.exp

@ -2,18 +2,14 @@
sim_init
if { [istarget *] } {
# all machines
set all_machs "arm7tdmi"
# The .ms suffix is for "miscellaneous .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/arm/thumb/allthumb.exp

@ -2,18 +2,14 @@
sim_init
if { [istarget *] } {
# all machines
set all_machs "arm7tdmi"
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/arm/xscale/xscale.exp

@ -2,18 +2,14 @@
sim_init
if { [istarget *] } {
# all machines
set all_machs "xscale"
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/avr/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "avr"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/bfin/allinsn.exp

@ -6,16 +6,13 @@ global CFLAGS_FOR_TARGET_init
set CFLAGS_FOR_TARGET_init "-mcpu=bf537"
sim_init
if [istarget *] {
# all machines
set all_machs "bfin"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.\[csS\]]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/bpf/allinsn.exp

@ -2,7 +2,6 @@
sim_init
if [istarget *] {
# all machines
set all_machs "bpf"
@ -13,12 +12,9 @@ if [istarget *] {
set LDFLAGS_FOR_TARGET "-Ttext=0x0"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/cr16/allinsn.exp

@ -2,7 +2,6 @@
sim_init
if [istarget *] {
# all machines
set all_machs "cr16"
@ -13,12 +12,9 @@ if [istarget *] {
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/cr16/misc.exp

@ -2,7 +2,6 @@
sim_init
if [istarget *] {
# all machines
set all_machs "cr16"
@ -13,12 +12,9 @@ if [istarget *] {
# The .ms suffix is for "miscellaneous .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

2
sim/testsuite/cris/asm/asm.exp

@ -17,7 +17,6 @@
sim_init
if [istarget *] {
global ASFLAGS_FOR_TARGET
# All machines we test and the corresponding assembler option. Needs
# update if we build the simulator for crisv0 crisv3 and crisv8 too.
@ -44,4 +43,3 @@ if [istarget *] {
run_sim_test $src $mach
}
}
}

5
sim/testsuite/d10v/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "d10v"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/example-synacor/allinsn.exp

@ -2,7 +2,6 @@
sim_init
if [istarget *] {
# All machines.
set all_machs "example"
@ -10,11 +9,9 @@ if [istarget *] {
set LDFLAGS_FOR_TARGET "-Ttext=0"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

3
sim/testsuite/frv/allinsn-a-b.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[a-b\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-c.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[c\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-d-h.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[d-h\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-i-l.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[i-l\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-m.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[m\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-n.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[n\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-o-s.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[o-s\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

3
sim/testsuite/frv/allinsn-t-z.exp

@ -8,8 +8,7 @@ set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[t-z\]*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}

5
sim/testsuite/frv/fr400/allinsn.exp

@ -2,18 +2,15 @@
sim_init
if [istarget *] {
# all machines
set all_machs "fr400 fr405 fr450 fr550"
set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/frv/fr500/allinsn.exp

@ -2,18 +2,15 @@
sim_init
if [istarget *] {
# all machines
set all_machs "frv fr500 fr550"
set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/frv/fr550/allinsn.exp

@ -2,18 +2,15 @@
sim_init
if [istarget *] {
# all machines
set all_machs "fr550"
set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/frv/interrupts.exp

@ -2,18 +2,15 @@
sim_init
if [istarget *] {
# all machines
set all_machs "frv fr500 fr550 fr400"
set cpu_option -mcpu
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/interrupts/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/frv/misc.exp

@ -2,18 +2,15 @@
sim_init
if [istarget *] {
# all machines
set all_machs "frv fr500 fr550 fr400 fr405 fr450"
set cpu_option -mcpu
# The .ms suffix is for "miscellaneous .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/frv/parallel.exp

@ -2,18 +2,15 @@
sim_init
if [istarget *] {
# all machines
set all_machs "frv fr500 fr550 fr400"
set cpu_option -mcpu
# The .pcgs suffix is for "parallel cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.pcgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/ft32/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "ft32"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

6
sim/testsuite/h8300/allinsn.exp

@ -2,16 +2,12 @@
sim_init
if {[istarget *]} {
set all_machs "h8300 h8300h h8300s h8sx"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/iq2000/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "iq2000"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/lm32/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "lm32"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/m32c/allinsn.exp

@ -3,16 +3,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "m32c"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

7
sim/testsuite/m32r/allinsn.exp

@ -2,19 +2,14 @@
sim_init
if [istarget *] {
# all machines
set all_machs "m32r"
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

7
sim/testsuite/m32r/misc.exp

@ -2,19 +2,14 @@
sim_init
if [istarget *] {
# all machines
set all_machs "m32r"
# The .ms suffix is for "miscellaneous .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/m68hc11/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "m68hc11"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/mcore/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "mcore"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/microblaze/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "microblaze"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/mn10300/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "mn10300"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/moxie/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "moxie"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/msp430/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "msp430"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/or1k/alltests.exp

@ -17,19 +17,14 @@
sim_init
if [istarget *] {
set all_machs "or1k"
global LDFLAGS_FOR_TARGET
set LDFLAGS_FOR_TARGET "-T $srcdir/$subdir/or1k-test.ld"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.S]] {
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/pru/allinsn.exp

@ -20,16 +20,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "pru"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

5
sim/testsuite/riscv/allinsn.exp

@ -2,16 +2,13 @@
sim_init
if [istarget *] {
# all machines
set all_machs "riscv"
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

2
sim/testsuite/sh/allinsn.exp

@ -14,8 +14,6 @@ foreach opt $board_variant_list {
}
}
if [istarget *] {
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
run_sim_test $src $all_machs
}
}

5
sim/testsuite/v850/allinsns.exp

@ -2,7 +2,6 @@
sim_init
if [istarget *] {
# All machines.
# Should add more cpus if the testsuite adds coverage for their insns, but
# at the core level, there's no deviation beyond these two.
@ -14,11 +13,9 @@ if [istarget *] {
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
# If we're only testing specific files and this isn't one of them,
# skip it.
# If we're only testing specific files and this isn't one of them, skip it.
if ![runtest_file_p $runtests $src] {
continue
}
run_sim_test $src $all_machs
}
}

Loading…
Cancel
Save