diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6c1bbd7..56b6e60 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,8 @@ 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 named /usr/sbin/prelink<foo>. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 6ed661e..c62f706 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1267,6 +1267,8 @@ proc gdb_compile_test {src output} { unsupported "compilation [file tail $src]" } elseif { [regexp {.*: command not found[\r|\n]*$} $output] } { unsupported "compilation [file tail $src]" + } elseif { [regexp {.*: [^\r\n]*compiler not installed[^\r\n]*[\r|\n]*$} $output] } { + unsupported "compilation [file tail $src]" } else { verbose -log "compilation failed: $output" 2 fail "compilation [file tail $src]" |