1.4.2 cmd-line
Wolfgang Pichler <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.bugs |
|---|---|
| Message-ID | <[email protected]> |
please re-insert some sort of THIS code (cowardly stolen from some older
runtest.exp) into runtest.exp of 1.4.2 and onwards if missing.
otherwise dejagnu's 'make check' won't work :-)
AND MORE BAD : many others seem to rely on this code to work ...
---
"[A-Z]*=*" { # process makefile style args like CC=gcc, etc...
if [regexp "^(\[A-Z_\]+)=(.*)$" $option junk var val] {
set $var $val
verbose "$var is now $val"
append makevars "set $var $val;" ;# FIXME: Used
anywhere?
unset junk var val
} else {
send_error "Illegal variable specification:\n"
send_error "$option\n"
}
continue
}