about summary refs log tree commit diff
path: root/sysdeps/powerpc/Makefile
diff options
context:
space:
mode:
authorWainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>2017-02-21 10:17:32 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-02-21 14:00:01 -0300
commit6ec414025531537bf1bb5d1d9ef9c8dcf43b5789 (patch)
treed901963005938357dd49c7d707d785e7cbc84276 /sysdeps/powerpc/Makefile
parentee6df1e6ab5bf46ff0f71596e8ac46fcb2b790ef (diff)
downloadglibc-6ec414025531537bf1bb5d1d9ef9c8dcf43b5789.tar.gz
glibc-6ec414025531537bf1bb5d1d9ef9c8dcf43b5789.tar.xz
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/Makefile1
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)))