From 6bb85cd171585d397ed3d5755ea19d4f2eb73ead Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 19 Mar 2010 17:59:37 +0000 Subject: * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed" output from gcc. --- gdb/testsuite/ChangeLog | 3 +++ gdb/testsuite/lib/gdb.exp | 2 ++ 2 files changed, 5 insertions(+) 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 + * 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. 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]" -- cgit v1.1