This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add random memcpy test
- From: "Wainer S. Moschetta" <wainersm at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 7 Feb 2017 16:05:28 -0200
- Subject: Re: [PATCH] Add random memcpy test
- Authentication-results: sourceware.org; auth=none
- References: <AM3PR08MB008887BC4347EEC2C2AD7C4A83720@AM3PR08MB0088.eurprd08.prod.outlook.com> <AM3PR08MB008830D95F894A1F1D334B57834A0@AM3PR08MB0088.eurprd08.prod.outlook.com> <DB3PR08MB0089596570EFB077FB73B79783590@DB3PR08MB0089.eurprd08.prod.outlook.com> <AM5PR0802MB261046901181DD5E4348ADFA83430@AM5PR0802MB2610.eurprd08.prod.outlook.com>
<snip>
> +test_main (void)
> +{
> + test_init ();
> + init_copy_distribution ();
> +
> + printf ("%23s", "");
> + FOR_EACH_IMPL (impl, 0)
> + printf ("\t%s", impl->name);
> + putchar ('\n');
> +
> + for (int i = 4; i <= 64; i = i * 2)
> + do_test (i * 1024);
> +
> + return ret;
> +}
> +
> +#include "../test-skeleton.c"
>
Perhaps you should use the new #include <support/test-driver.c> instead.