mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-11 02:06:59 +08:00
moved.
This commit is contained in:
gas/testsuite/gas/gasp
@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
foo: .ASSIGNC "hello"
|
|
||||||
BAR: .ASSIGNA 12+34
|
|
||||||
|
|
||||||
\&foo'foo
|
|
||||||
\&foo\&foo\&foo
|
|
||||||
\&foo \&foo \&foo
|
|
||||||
\&BAR\&bar\&BAR
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.END
|
|
@ -1 +0,0 @@
|
|||||||
assign.asm:8 Can't find preprocessor variable bar.
|
|
@ -1,22 +0,0 @@
|
|||||||
!
|
|
||||||
|
|
||||||
!foo: .ASSIGNC "hello"
|
|
||||||
!BAR: .ASSIGNA 12+34
|
|
||||||
!
|
|
||||||
|
|
||||||
! \&foo'foo
|
|
||||||
hellofoo
|
|
||||||
! \&foo\&foo\&foo
|
|
||||||
hellohellohello
|
|
||||||
! \&foo \&foo \&foo
|
|
||||||
hello hello hello
|
|
||||||
! \&BAR\&bar\&BAR
|
|
||||||
4646
|
|
||||||
!
|
|
||||||
|
|
||||||
!
|
|
||||||
|
|
||||||
!
|
|
||||||
|
|
||||||
!
|
|
||||||
! .END
|
|
@ -1,33 +0,0 @@
|
|||||||
|
|
||||||
proc gasp_test { testname } {
|
|
||||||
global GASP
|
|
||||||
global srcdir
|
|
||||||
|
|
||||||
send_log "$srcdir/lib/run $GASP -s $testname.asm -o gasp.out \n"
|
|
||||||
catch "exec $srcdir/lib/run $GASP -s $testname.asm -o gasp.out" errs
|
|
||||||
catch "exec diff gasp.out $testname.out" diffs
|
|
||||||
if ![string match "" $diffs] {
|
|
||||||
send_log "$diffs\n"
|
|
||||||
verbose $diffs
|
|
||||||
fail $testname
|
|
||||||
send_log "exec cat gasp.out"
|
|
||||||
return 0
|
|
||||||
} else {
|
|
||||||
pass $testname
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach src [ lsort [ glob $srcdir/gas/gasp/*.asm ] ] {
|
|
||||||
regsub -all ".asm" $src "" t
|
|
||||||
gasp_test $t
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer
|
|
||||||
# in use, then this can be removed.
|
|
||||||
if [info exists errorInfo] then {
|
|
||||||
unset errorInfo
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
.sdata "v1.0000"
|
|
||||||
.end
|
|
@ -1,5 +0,0 @@
|
|||||||
!
|
|
||||||
|
|
||||||
! .sdata "v1.0000"
|
|
||||||
.byte 118,49,46,48,48,48,48
|
|
||||||
! .end
|
|
Reference in New Issue
Block a user