Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Bernd Edlinger <bernd.edlinger@hotmail.de>
To: Tom de Vries <tdevries@suse.de>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix test failures when TUI is not enabled
Date: Fri, 9 Aug 2024 13:11:37 +0200	[thread overview]
Message-ID: <AS1PR01MB94652F2E7D8024F490D21602E4BA2@AS1PR01MB9465.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <AS1PR01MB94658E5B17D98C86664B225EE4BA2@AS1PR01MB9465.eurprd01.prod.exchangelabs.com>

On 8/9/24 11:48, Bernd Edlinger wrote:
> On 8/9/24 11:28, Tom de Vries wrote:
>> On 8/9/24 10:47, Bernd Edlinger wrote:
>>
>> I disabled tui support using --disable-tui, and can't reproduce the wrap-line fails you see.
>>
>> Is it possible that you're running into "[gdb/testsuite, stub-termcap] FAIL: gdb.base/wrap-line.exp: term=ansi: width-hard-coded: wrap (timeout)" @ https://sourceware.org/bugzilla/show_bug.cgi?id=31201 ?
>>
> 
> Yes, that could be the case.
> 
> I did not explicitly opt-out tui, I just did never care to install
> e.g. libcurses etc. and the configure did the rest.
> 

FYI this is what happens in the test:

PASS: gdb.base/wrap-line.exp: term=ansi: width-hard-coded: $gdb_width == [expr $readline_width + 1]
PASS: gdb.base/wrap-line.exp: term=ansi: width-hard-coded: width
print 1^M
$1 = 1^M
(gdb) 78901234567890123456789012345678901234567890123456789012345678901234567^M<890123456789012345678901234567890123456789012345678                         ^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H9WFAIL: gdb.base/wrap-line.exp: term=ansi: width-hard-coded: wrap (timeout)
Quit^M


the input is long string and the output is
^M<890123456789012345678901234567890123456789012345678
+ some space characters + some backspace characters
and no (gdb) prompt.  That is not what the test expects?


Thanks
Bernd.

  reply	other threads:[~2024-08-09 11:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09  8:47 Bernd Edlinger
2024-08-09  9:28 ` Tom de Vries
2024-08-09  9:48   ` Bernd Edlinger
2024-08-09 11:11     ` Bernd Edlinger [this message]
2024-08-09 11:17     ` Tom de Vries
2024-08-12  4:54       ` Bernd Edlinger
2024-08-12  9:43         ` [PATCH] Fix test failures when tui " Bernd Edlinger

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=AS1PR01MB94652F2E7D8024F490D21602E4BA2@AS1PR01MB9465.eurprd01.prod.exchangelabs.com \
    --to=bernd.edlinger@hotmail.de \
    --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