* lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
output from gcc.
This commit is contained in:
parent
d7d158ed1d
commit
6bb85cd171
|
@ -1,5 +1,8 @@
|
||||||
2010-03-19 Doug Evans <dje@google.com>
|
2010-03-19 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
|
||||||
|
output from gcc.
|
||||||
|
|
||||||
* gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
|
* gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
|
||||||
named /usr/sbin/prelink<foo>.
|
named /usr/sbin/prelink<foo>.
|
||||||
|
|
||||||
|
|
|
@ -1267,6 +1267,8 @@ proc gdb_compile_test {src output} {
|
||||||
unsupported "compilation [file tail $src]"
|
unsupported "compilation [file tail $src]"
|
||||||
} elseif { [regexp {.*: command not found[\r|\n]*$} $output] } {
|
} elseif { [regexp {.*: command not found[\r|\n]*$} $output] } {
|
||||||
unsupported "compilation [file tail $src]"
|
unsupported "compilation [file tail $src]"
|
||||||
|
} elseif { [regexp {.*: [^\r\n]*compiler not installed[^\r\n]*[\r|\n]*$} $output] } {
|
||||||
|
unsupported "compilation [file tail $src]"
|
||||||
} else {
|
} else {
|
||||||
verbose -log "compilation failed: $output" 2
|
verbose -log "compilation failed: $output" 2
|
||||||
fail "compilation [file tail $src]"
|
fail "compilation [file tail $src]"
|
||||||
|
|
Loading…
Reference in New Issue