From: Jan Kratochvil Date: Sun, 21 Jan 2007 22:25:34 +0000 (+0000) Subject: * lib/gdb.exp: Abort on missing `site.exp'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97c3f1f3a232263f9f02788c70d70682d7981794;p=binutils-gdb.git * lib/gdb.exp: Abort on missing `site.exp'. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e45b6c3b38b..c1f1879b149 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 4c440248040..7d785bc8fd5 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