testsuite: Fix scan-lang-dump-not
turned out scan-lang-dump-not was broken in the 3 argument case -- I'd missed a necessary empty arg. Fixed thusly. gcc/testsuite/ * lib/scanlang.exp (scan-lang-dump-not): Fix 3-arg case.
This commit is contained in:
parent
c4facd483d
commit
a431251922
|
@ -36,10 +36,11 @@ proc scan-lang-dump { args } {
|
|||
return
|
||||
}
|
||||
if { [llength $args] >= 3 } {
|
||||
scan-dump "lang" [lindex $args 0] \
|
||||
"\[0-9\]\[0-9\]\[0-9\]l.[lindex $args 1]" "" [lindex $args 2]
|
||||
scan-dump-not "lang" [lindex $args 0] \
|
||||
"\[0-9\]\[0-9\]\[0-9\]l.[lindex $args 1]" "" \
|
||||
[lindex $args 2]
|
||||
} else {
|
||||
scan-dump "lang" [lindex $args 0] \
|
||||
"\[0-9\]\[0-9\]\[0-9\]l.[lindex $args 1]" ""
|
||||
scan-dump-not "lang" [lindex $args 0] \
|
||||
"\[0-9\]\[0-9\]\[0-9\]l.[lindex $args 1]"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue