From: Pedro Alves <pedro@palves.net>
To: Tom de Vries <tdevries@suse.de>, gdb-patches@sourceware.org
Subject: Re: [PATCH][gdb/testsuite] Emit unresolved for unknown proc
Date: Mon, 29 Jun 2020 12:54:37 +0100 [thread overview]
Message-ID: <d708bb9b-a856-128b-40e9-c34be1c74efc@palves.net> (raw)
In-Reply-To: <20200629112105.GA5644@delia>
On 6/29/20 12:21 PM, Tom de Vries wrote:
> Hi,
>
> Since commit 26783bce15 "[gdb/testsuite] Don't abort testrun for invalid
> command in test-case" we don't abort the testrun when encountering an invalid
> command. However, since we don't report errors in the summary, there's a
> chance that the error goes unnoticed.
>
> Make the invalid command error more visible by marking the test-case
> unresolved, such that we have f.i.:
> ...
> PASS: gdb.python/py-breakpoint.exp: test_bkpt_internal: Test watchpoint write
> UNRESOLVED: gdb.python/py-breakpoint.exp: test_bkpt_eval_funcs: \
> testcase aborted due to invalid command name: gdb_py_test_multiple
> ERROR: tcl error sourcing py-breakpoint.exp.
> ERROR: invalid command name "gdb_py_test_multiple"
> while executing
> ...
> === gdb Summary ===
>
> nr of expected passes 56
> nr of unresolved testcases 1
> ...
>
> Tested on x86_64-linux.
>
> Any comments?
LGTM.
Sounds like we'll end up with two UNRESOLVEDs for this when Jacob's
changes land in DejaGnu, right? Do you plan on making this
dependent on dejagnu version, or leave the two UNRESOLVEDs anyway?
Thanks,
Pedro Alves
next prev parent reply other threads:[~2020-06-29 11:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-29 11:21 Tom de Vries
2020-06-29 11:54 ` Pedro Alves [this message]
2020-06-29 11:58 ` Tom de Vries
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=d708bb9b-a856-128b-40e9-c34be1c74efc@palves.net \
--to=pedro@palves.net \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/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