[libc++] Extract std::fprintf into a function for use within the test suite
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 6 Mar 2023 19:04:22 +0000 (14:04 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Tue, 7 Mar 2023 14:07:19 +0000 (09:07 -0500)
commitdbe6894ac634b96b4156c6becd0825be6e9639ab
treed0666e32d207503db42188b82a0e464aa835faa3
parente6287d57a37f4975d102c48f0c310e3d7733a3f2
[libc++] Extract std::fprintf into a function for use within the test suite

This provides a single place for downstream to customize (or turn off)
printing information to stderr within the test suite.

Differential Revision: https://reviews.llvm.org/D145405
libcxx/test/support/assert_macros.h
libcxx/test/support/concat_macros.h