powerpc: Convert tests to the new support test-driver
authorWainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Tue, 21 Feb 2017 13:16:49 +0000 (10:16 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 21 Feb 2017 17:00:00 +0000 (14:00 -0300)
commitee6df1e6ab5bf46ff0f71596e8ac46fcb2b790ef
treee7374165850df509919b580f1ec7852815b1a9f5
parent0b38d66a4e2e0d7cb9f40da5bc6e795e20cf3088
powerpc: Convert tests to the new support test-driver

Change the powerpc tests to use <support/test-driver.c>.
Also replace some of pthread calls to its xpthread equivalent.

Tested on ppc64le.

* sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
instead of test-skeleton.c.
(do_test): Replaced pthread_create and pthread_join with
xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
Removed unneeded status variable.
* sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
instead of test-skeleton.c.
* sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
ChangeLog
sysdeps/powerpc/test-get_hwcap.c
sysdeps/powerpc/test-gettimebase.c
sysdeps/powerpc/tst-tlsopt-powerpc.c