public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Use 'require' even more
@ 2023-01-22 21:55 Tom Tromey
  2023-01-22 21:55 ` [PATCH 1/8] Convert skip_altivec_tests to allow form Tom Tromey
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Tom Tromey @ 2023-01-22 21:55 UTC (permalink / raw)
  To: gdb-patches

This changes many more tests to use 'require'.

I think the benefits here are two-fold.

First, this is more terse and more importantly, consistent across
tests.  This means it's harder to accidentally early-exit without a
reason.

Second, a test exiting silently seems bad to me, because it requires
investigation into the reason why (which I, for one, never do).  If
every test has to give a reason that it did not run, we could detect a
change in that reason using a comparison script.

There's a bit of discussion of this in:

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

... read that for some background and also perhaps a different view.

Tom



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

end of thread, other threads:[~2023-01-24 19:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 21:55 [PATCH 0/8] Use 'require' even more Tom Tromey
2023-01-22 21:55 ` [PATCH 1/8] Convert skip_altivec_tests to allow form Tom Tromey
2023-01-23 19:45   ` Pedro Alves
2023-01-24 19:53     ` Tom Tromey
2023-01-22 21:55 ` [PATCH 2/8] Rename skip_float_test " Tom Tromey
2023-01-22 21:55 ` [PATCH 3/8] Rename skip_power_isa_3_1_tests " Tom Tromey
2023-01-22 21:55 ` [PATCH 4/8] Rename skip_vsx_tests " Tom Tromey
2023-01-22 21:55 ` [PATCH 5/8] Use require with istarget Tom Tromey
2023-01-22 21:55 ` [PATCH 6/8] Introduce and use is_any_target Tom Tromey
2023-01-23 19:57   ` Pedro Alves
2023-01-24 19:41     ` Tom Tromey
2023-01-22 21:55 ` [PATCH 7/8] Add unsupported calls where needed Tom Tromey
2023-01-22 21:55 ` [PATCH 8/8] Use require with is_remote Tom Tromey
2023-01-23 20:08   ` Pedro Alves
2023-01-24 19:48     ` Tom Tromey
2023-01-24 19:50       ` Pedro Alves

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).