This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]