mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Storing common macros and function stubs in libc-test
@ 2024-09-06  1:36 Gardner, Ryan P
  2024-09-06 15:46 ` Szabolcs Nagy
  0 siblings, 1 reply; 2+ messages in thread
From: Gardner, Ryan P @ 2024-09-06  1:36 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

Hello,

I am currently writing some test cases to contribute to libc-test.
In regards to reusing common macros and function stubs, where would
be the most appropriate place to put these? Should these be added
to `test.h`? Would a new `utils.h` header file be more appropriate?
A new file would ensure no rework/unexpected redefines with already
existing tests. Or should the macros needed for a given test be
defined within that test file, even if many tests use the same
macros. For example #define TEST(c, ...).

Kind regards,
Ryan

[-- Attachment #2: Type: text/html, Size: 2646 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-06 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06  1:36 [musl] Storing common macros and function stubs in libc-test Gardner, Ryan P
2024-09-06 15:46 ` Szabolcs Nagy

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).