[PATCH] Test errno setup
Zack Weinberg
zackw@panix.com
Thu Feb 16 17:15:00 GMT 2017
On Thu, Feb 16, 2017 at 12:10 PM, Carlos O'Donell <carlos@redhat.com> wrote:
>
> Please use a static function and avoid macros which make the test
> hard to debug. We don't have any performance or function call
> issues here so I think the macros should be avoided.
The macros make it possible to reuse the core test logic for all the
tested system calls, which vary in both the numbers and types of
arguments. Any other approach would be significantly more complicated
and repetitive.
zw
More information about the Libc-alpha
mailing list