[PATCH v3 0/2] Add support for threaded tests, then use with malloc

Arjun Shankar arjun@redhat.com
Fri Nov 14 17:31:44 GMT 2025


v2:
https://inbox.sourceware.org/libc-alpha/20251110145716.3147101-1-arjun@redhat.com/

Changes in v3 - address Florian's review comments:
 - Split to two patches, keeping support/ and malloc/ changes separate
 - Explain why support_test_in_thread_wrapper.c is compiled separately
 - Comment explaining reason for disabling a couple of tests
 - Reduced the number of failing/disabled tests by using correct setup
   (envvar, library use)
 - tst-free-errno failure was fixed separately in:
   https://inbox.sourceware.org/libc-alpha/20251113203142.464393-1-arjun@redhat.com/
 - Other minor naming/comment changes that were requested

Arjun Shankar (2):
  support: Add support for running tests in a multi-threaded environment
  malloc: Add threaded variants of single-threaded malloc tests

 malloc/Makefile                          | 72 ++++++++++++++++--
 support/Makefile                         |  1 +
 support/support_test_in_thread_wrapper.c | 96 ++++++++++++++++++++++++
 support/support_test_main.c              | 25 ++++--
 support/test-driver.c                    |  8 ++
 support/test-driver.h                    | 12 +++
 6 files changed, 202 insertions(+), 12 deletions(-)
 create mode 100644 support/support_test_in_thread_wrapper.c

-- 
2.51.1



More information about the Libc-alpha mailing list