From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: gdb-patches@sourceware.org
Cc: Daniel Jacobowitz <drow@false.org>
Subject: Re: [PATCH] Fix `testrun.log' output of manual `testrun's
Date: Sun, 14 Jan 2007 15:34:00 -0000 [thread overview]
Message-ID: <20070114153437.GA2781@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20070113160055.GA28179@nevyn.them.org>
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
On Sat, 13 Jan 2007 17:00:55 +0100, Daniel Jacobowitz wrote:
...
> Does site.exp exist before this happens? It has never happened to me;
> site.exp sets tool to gdb.
It does not exists as gdb has been built in a non-srcdir directory.
> I get a testrun.log if I run runtest before make site.exp, but then
> nothing works.
You are right. While I believe the former patch makes the testsuite more
consistent I now see it makes no practical difference.
Rather proposing a new patch as only the warning message
WARNING: No tool specified
was proven as not stopping the testsuite users in such local configurations.
Regards,
Jan
[-- Attachment #2: gdb-site-require.patch --]
[-- Type: text/plain, Size: 670 bytes --]
2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp: Abort on missing `site.exp'.
diff -u -rup gdb-6.5-orig/gdb/testsuite/lib/gdb.exp gdb-6.5/gdb/testsuite/lib/gdb.exp
--- gdb-6.5-orig/gdb/testsuite/lib/gdb.exp 2006-12-17 11:59:42.000000000 +0100
+++ gdb-6.5/gdb/testsuite/lib/gdb.exp 2007-01-14 16:27:03.000000000 +0100
@@ -22,6 +22,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
next prev parent reply other threads:[~2007-01-14 15:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-13 9:08 Jan Kratochvil
2007-01-13 13:47 ` Mark Kettenis
2007-01-13 16:01 ` Daniel Jacobowitz
2007-01-14 15:34 ` Jan Kratochvil [this message]
2007-01-20 19:59 ` Daniel Jacobowitz
2007-01-21 22:28 ` Jan Kratochvil
2007-01-21 22:51 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070114153437.GA2781@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox