This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] powerpc: Convert tests to the new support test-driver
- From: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 3 Jan 2017 11:46:16 +0530
- Subject: Re: [PATCH v2] powerpc: Convert tests to the new support test-driver
- Authentication-results: sourceware.org; auth=none
- References: <20170102125421.7585-1-wainersm@linux.vnet.ibm.com>
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