[PATCH v2] powerpc: Convert tests to the new support test-driver

Rajalakshmi Srinivasaraghavan raji@linux.vnet.ibm.com
Tue Jan 3 06:16:00 GMT 2017



On 01/02/2017 06:24 PM, Wainer dos Santos Moschetta wrote:
> Changes since v1:
> - Uses TEST_VERIFY_EXIT macro to check status of xpthread_join.
>    Notice it is expected status == NULL for a success join.
>
> Depends onhttp://sourceware.org/ml/libc-alpha/2016-12/msg01021.html
> that introduced the TEST_VERIFY_EXIT macro.
>
> -- >8 --
> Change the powerpc tests to use <support/test-driver.c>.
> Also replace some of pthread calls to its xpthread equivalent.
> +  status = xpthread_join (threads[i]);
> +  TEST_VERIFY_EXIT (status == NULL);
Can we avoid extra variable status?

-- 
Thanks
Rajalakshmi S



More information about the Libc-alpha mailing list