public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/30289] New: [gdb/testsuite] Test run with editing off
@ 2023-03-30  2:52 vries at gcc dot gnu.org
  2023-03-30 11:06 ` [Bug testsuite/30289] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-30  2:52 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30289

            Bug ID: 30289
           Summary: [gdb/testsuite] Test run with editing off
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

I wrote a board file (copied from readnow.exp) setting editing to off by
default:
...
$ cat gdb/testsuite/boards/editing-off.exp 
  ...
load_board_description "local-board"

# Run all tests with editing off.
set GDBFLAGS "${GDBFLAGS} -iex \"set editing off\""

# This is based on baseboards/unix.exp.
# At the moment we only support systems that unix.exp supports.
load_generic_config "unix"
process_multilib_options ""
set found_gcc [find_gcc]
set found_gxx [find_g++]
set_board_info compiler "$found_gcc"
...

Results:
...
FAIL: gdb.ada/access_to_packed_array.exp: set logging enabled on (timeout)
FAIL: gdb.ada/access_to_packed_array.exp: maint print symbols (timeout)
FAIL: gdb.base/page-logging.exp: set logging enabled on (timeout)
FAIL: gdb.base/page-logging.exp: printf without paging (timeout)
FAIL: gdb.base/trace-commands.exp: nested trace-commands test (pattern 2)
FAIL: gdb.base/trace-commands.exp: depth resets on error part 1 (pattern 2)
FAIL: gdb.base/ui-redirect.exp: redirect: set logging enabled on (timeout)
FAIL: gdb.base/ui-redirect.exp: redirect: save breakpoints cmds.txt (timeout)
FAIL: gdb.base/ui-redirect.exp: redirect: userdefined (timeout)
FAIL: gdb.base/ui-redirect.exp: redirect logging and debuging: set logging
enabled on (timeout)
FAIL: gdb.python/tui-window-factory.exp: msg_3: check for python output
FAIL: gdb.threads/threadapply.exp: thread_set=all: try remove: define remove
(timeout)
FAIL: gdb.threads/threadapply.exp: thread_set=all: try remove 2: define
remove-again (timeout)
FAIL: gdb.tui/basic.exp: scroll up
FAIL: gdb.tui/basic.exp: check main is where we expect on the screen
FAIL: gdb.tui/basic.exp: scroll right
FAIL: gdb.tui/basic.exp: scroll down
FAIL: gdb.tui/basic.exp: asm window shows main
FAIL: gdb.tui/completion.exp: check focus completions
FAIL: gdb.tui/info-win.exp: info win, layout src
FAIL: gdb.tui/info-win.exp: info win, layout h
FAIL: gdb.tui/new-layout.exp: layout=cmd_only {cmd 1} {} {}: info win output
FAIL: gdb.tui/scroll.exp: check cmd window
FAIL: gdb.tui/scroll.exp: check cmd window in flip layout
FAIL: gdb.tui/tui-focus.exp: check test2 focus message
FAIL: gdb.tui/tui-focus.exp: check ambiguous focus message
FAIL: gdb.tui/tui-layout-asm.exp: scroll to end of assembler (scroll failed)
FAIL: gdb.tui/tui-nl-filtered-output.exp: check printf output
FAIL: gdb.tui/winheight.exp: check error message about src size 100
FAIL: gdb.tui/winheight.exp: check error message about src +1
...

Related PRs:
- PR22454 - "logging sometimes prints prompt"
- PR30288 - "[gdb/cli, editing off] FAIL: gdb.base/trace-commands.exp: nested
  trace-commands test (pattern 2)"

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug testsuite/30289] [gdb/testsuite] Test run with editing off
  2023-03-30  2:52 [Bug testsuite/30289] New: [gdb/testsuite] Test run with editing off vries at gcc dot gnu.org
@ 2023-03-30 11:06 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-30 11:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30289

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
The tentative patch at PR30290 - "[gdb/tui] tui unusable with editing off"
fixes a fair amount of the tui test-case fails.

But it doesn't cover the ones that use readline bindings (arrow up etc), and
also the output is not as expected for tui test-cases using python, haven't
looked into that.

Anyway, I think the fails fall into 3 categories:
- sending more than one command to gdb at a time
- tui
- gdb prompt put into log file instead of stdout

I was actually looking for instances of a 4th category: tab completion, but
AFAICT those have all been fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-30 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30  2:52 [Bug testsuite/30289] New: [gdb/testsuite] Test run with editing off vries at gcc dot gnu.org
2023-03-30 11:06 ` [Bug testsuite/30289] " vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).