This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Update elf tests to use the support test driver.
"H.J. Lu" <hjl.tools@gmail.com> writes:
> I checked in this patch to fix elf/tst-dlopen-aout.c.
>
> Subject: [PATCH] Define TEST_FUNCTION_ARGV in elf/tst-dlopen-aout.c
>
> * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
> (TEST_FUNCTION_ARGV): New.
Thanks for catching this!
> ---
> ChangeLog | 5 +++++
> elf/tst-dlopen-aout.c | 2 +-
> 2 files changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index e6fcdd0..c586ef2 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,8 @@
> +2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
> +
> + * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
> + (TEST_FUNCTION_ARGV): New.
> +
> 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
>
> * elf/next.c: Import support/test-driver.c instead of
> diff --git a/elf/tst-dlopen-aout.c b/elf/tst-dlopen-aout.c
> index 34a1cdb..cccc508 100644
> --- a/elf/tst-dlopen-aout.c
> +++ b/elf/tst-dlopen-aout.c
> @@ -63,5 +63,5 @@ do_test (int argc, char *argv[])
> return 0;
> }
>
> -#define TEST_FUNCTION do_test (argc, argv)
> +#define TEST_FUNCTION_ARGV do_test
> #include <support/test-driver.c>
--
Tulio Magno