diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2007-01-21 22:25:34 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2007-01-21 22:25:34 +0000 |
commit | 97c3f1f3a232263f9f02788c70d70682d7981794 (patch) | |
tree | 83e469abd7adf3622f61b332920cfe5f54cc9c2c /gdb/testsuite/lib | |
parent | 9ebce043d51981350a387880ea9a68b98c25b6c4 (diff) | |
download | gdb-97c3f1f3a232263f9f02788c70d70682d7981794.zip gdb-97c3f1f3a232263f9f02788c70d70682d7981794.tar.gz gdb-97c3f1f3a232263f9f02788c70d70682d7981794.tar.bz2 |
* lib/gdb.exp: Abort on missing `site.exp'.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |