[PATCH] Add random memcpy test

Wainer S. Moschetta wainersm@linux.vnet.ibm.com
Tue Feb 7 18:05:00 GMT 2017


<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.



More information about the Libc-alpha mailing list