[PATCH 0/8] Use 'require' even more
Tom Tromey
tom@tromey.com
Sun Jan 22 21:55:50 GMT 2023
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
More information about the Gdb-patches
mailing list