Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed 0/3] [gdb/testsuite] Add some tui test-cases
@ 2026-10-16 15:28 Tom de Vries
  2026-10-16 15:28 ` [pushed 1/3] [gdb/testsuite] Handle non-existing testfile in find_core_file Tom de Vries
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tom de Vries @ 2026-10-16 15:28 UTC (permalink / raw)
  To: gdb-patches

I came across commit a4f8f290270 ("gdb/tui: disable tui mode when an assert
triggers"), and noticed that there are no test-cases that exercise this
scenario.

This series contains three patches.

The last two each add one such test-case.  I've confirmed that the test-cases
fail if commit a4f8f290270 is reverted.

The first is a trivial fix in proc find_core_file, that is required for the
second patch.

Tested on x86_64-linux.

Tom de Vries (3):
  [gdb/testsuite] Handle non-existing testfile in find_core_file
  [gdb/testsuite] Add gdb.tui/fatal.exp
  [gdb/testsuite] Add gdb.tui/internal-error.exp

 gdb/testsuite/gdb.tui/fatal.exp          | 71 ++++++++++++++++++++++++
 gdb/testsuite/gdb.tui/internal-error.exp | 59 ++++++++++++++++++++
 gdb/testsuite/lib/gdb.exp                |  4 +-
 3 files changed, 133 insertions(+), 1 deletion(-)
 create mode 100644 gdb/testsuite/gdb.tui/fatal.exp
 create mode 100644 gdb/testsuite/gdb.tui/internal-error.exp


base-commit: d5482742b2e597b2db086b0588a90feb22d10f68
-- 
2.51.0


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

end of thread, other threads:[~2026-10-16 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 15:28 [pushed 0/3] [gdb/testsuite] Add some tui test-cases Tom de Vries
2026-10-16 15:28 ` [pushed 1/3] [gdb/testsuite] Handle non-existing testfile in find_core_file Tom de Vries
2026-10-16 15:28 ` [pushed 2/3] [gdb/testsuite] Add gdb.tui/fatal.exp Tom de Vries
2026-10-16 15:28 ` [pushed 3/3] [gdb/testsuite] Add gdb.tui/internal-error.exp Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox