Use SELF_CHECK in all unit tests
authorTom Tromey <tom@tromey.com>
Fri, 7 Apr 2023 20:51:58 +0000 (14:51 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 12 Apr 2023 20:13:25 +0000 (14:13 -0600)
commitfade906daab13c99fc329c1e08447f2aac168b62
tree27b2598d43a1d374cba7578e2de40af42b19df91
parent4bbb4dfbed1c3e1df4e06b615e7ebe704186ca50
Use SELF_CHECK in all unit tests

I noticed a few unit tests are using gdb_assert.  I think this was an
older style, before SELF_CHECK was added.  This patch switches them
over.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/unittests/filtered_iterator-selftests.c
gdb/unittests/intrusive_list-selftests.c