From: Doug Evans Date: Fri, 19 Mar 2010 17:59:37 +0000 (+0000) Subject: * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bb85cd171585d397ed3d5755ea19d4f2eb73ead;p=binutils-gdb.git * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed" output from gcc. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6c1bbd78e5d..56b6e60ad5e 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 6ed661ef2c9..c62f706bfb4 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]"