From: Jan Kratochvil Date: Sun, 21 Jan 2007 22:25:34 +0000 (+0000) Subject: * lib/gdb.exp: Abort on missing `site.exp'. X-Git-Tag: drow-reverse-20070409-branchpoint~734 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97c3f1f3a232263f9f02788c70d70682d7981794;p=external%2Fbinutils.git * lib/gdb.exp: Abort on missing `site.exp'. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e45b6c3..c1f1879 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-01-14 Jan Kratochvil + + * lib/gdb.exp: Abort on missing `site.exp'. + 2007-01-21 Jan Kratochvil Daniel Jacobowitz diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 4c44024..7d785bc 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -21,6 +21,12 @@ # need to be modified for any target, it can be done with a variable # or by passing arguments. +if {$tool == ""} { + # Tests would fail, logs on get_compiler_info() would be missing. + send_error "`site.exp' not found, run `make site.exp'!\n" + exit 2 +} + load_lib libgloss.exp global GDB