]> git.ipfire.org Git - thirdparty/gcc.git/commit
libiberty: disable logging of list content for doubly-linked list tests
authorMatthieu Longo <matthieu.longo@arm.com>
Mon, 4 Aug 2025 10:04:13 +0000 (11:04 +0100)
committerMatthieu Longo <matthieu.longo@arm.com>
Wed, 6 Aug 2025 14:25:22 +0000 (15:25 +0100)
commit0d0837df6973e00c143a04fe652d74e4df856a2e
tree5625d498bd950ed3c16b17032b488725c14b576b
parent54edbeeaac6eb4865fab37374fbdff3a9a2f2e12
libiberty: disable logging of list content for doubly-linked list tests

When the doubly-linked list tests were introduced, the tests were
printing the content of the list forward and backward. However, this
printing is not needed outside of debugging, and confuses people because
the output is not only composed of PASS: lines.

This patch disables the printing of the list content by default. If
one wants to re-enable it for debugging, he can set the macro DUMP_LIST
to 1.

libiberty/ChangeLog:

* testsuite/test-doubly-linked-list.c: disable debug logging on
stdout.
libiberty/testsuite/test-doubly-linked-list.c