mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-13 19:30:53 +08:00
gas/testsuite/
* lib/gas-defs.exp (run_list_test): Make the options optional. * gas/cr16/cr16.exp (run_list_test): Delete.
This commit is contained in:
gas/testsuite
@ -1,3 +1,8 @@
|
|||||||
|
2007-07-23 Richard Sandiford <richard@codesourcery.com>
|
||||||
|
|
||||||
|
* lib/gas-defs.exp (run_list_test): Make the options optional.
|
||||||
|
* gas/cr16/cr16.exp (run_list_test): Delete.
|
||||||
|
|
||||||
2007-07-19 Nick Clifton <nickc@redhat.com>
|
2007-07-19 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR gas/4804
|
PR gas/4804
|
||||||
|
@ -2,19 +2,6 @@
|
|||||||
# Driver for CR16 assembler testsuite
|
# Driver for CR16 assembler testsuite
|
||||||
#
|
#
|
||||||
|
|
||||||
proc run_list_test { name opts } {
|
|
||||||
global srcdir subdir
|
|
||||||
set testname "cr16 $name"
|
|
||||||
set file $srcdir/$subdir/$name
|
|
||||||
gas_run ${name}.s $opts ">&dump.out"
|
|
||||||
if {[regexp_diff "dump.out" "${file}.l"] } {
|
|
||||||
fail $testname
|
|
||||||
verbose "output is [file_contents "dump.out"]" 2
|
|
||||||
return
|
|
||||||
}
|
|
||||||
pass $testname
|
|
||||||
}
|
|
||||||
|
|
||||||
if ![istarget cr16-*-*] {
|
if ![istarget cr16-*-*] {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -890,14 +890,14 @@ if ![string length [info proc prune_warnings]] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# run_list_test NAME OPTS (optional): TESTNAME
|
# run_list_test NAME (optional): OPTS TESTNAME
|
||||||
#
|
#
|
||||||
# Assemble the file "NAME.d" with command line options OPTS and
|
# Assemble the file "NAME.d" with command line options OPTS and
|
||||||
# compare the assembler standard error output against thee regular
|
# compare the assembler standard error output against thee regular
|
||||||
# expressions given in the file "NAME.l". If TESTNAME is provided,
|
# expressions given in the file "NAME.l". If TESTNAME is provided,
|
||||||
# it will be used as the name of the test.
|
# it will be used as the name of the test.
|
||||||
|
|
||||||
proc run_list_test { name opts {testname {}} } {
|
proc run_list_test { name {opts {}} {testname {}} } {
|
||||||
global srcdir subdir
|
global srcdir subdir
|
||||||
if { [string length $testname] == 0 } then {
|
if { [string length $testname] == 0 } then {
|
||||||
set testname "[file tail $subdir] $name"
|
set testname "[file tail $subdir] $name"
|
||||||
|
Reference in New Issue
Block a user