diff options
author | Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com> | 2017-02-21 10:17:32 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2017-02-21 14:00:01 -0300 |
commit | 6ec414025531537bf1bb5d1d9ef9c8dcf43b5789 (patch) | |
tree | d901963005938357dd49c7d707d785e7cbc84276 /sysdeps/powerpc/Makefile | |
parent | ee6df1e6ab5bf46ff0f71596e8ac46fcb2b790ef (diff) | |
download | glibc-6ec414025531537bf1bb5d1d9ef9c8dcf43b5789.tar glibc-6ec414025531537bf1bb5d1d9ef9c8dcf43b5789.tar.gz glibc-6ec414025531537bf1bb5d1d9ef9c8dcf43b5789.tar.bz2 glibc-6ec414025531537bf1bb5d1d9ef9c8dcf43b5789.zip |
powerpc: Add tests for __ppc_set_ppr_* functions.
The sys/platform/ppc.h header defines a class of __ppc_set_ppr functions
used to set the Program Priority Register (PPR) in PowerPC.
This patch implements test cases for these functions.
Tested on ppc64le, ppc64, and ppc.
* sysdeps/powerpc/tst-set_ppr.c: New file.
Implement test cases for __ppc_set_ppr_* functions.
* sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
in the list of tests.
Diffstat (limited to 'sysdeps/powerpc/Makefile')
-rw-r--r-- | sysdeps/powerpc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile index 099fbf68cd..933810fd22 100644 --- a/sysdeps/powerpc/Makefile +++ b/sysdeps/powerpc/Makefile @@ -34,6 +34,7 @@ endif ifeq ($(subdir),misc) sysdep_headers += sys/platform/ppc.h tests += test-gettimebase +tests += tst-set_ppr endif ifneq (,$(filter %le,$(config-machine))) |