about summary refs log tree commit diff
path: root/support/Makefile
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2019-05-08 16:58:17 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-08 16:58:17 +0200
commit33647a7294266b57dab33491abc9ca969b6798e3 (patch)
tree5fda0b1d58a25b8e14dbcdbba14b713fb488e7b2 /support/Makefile
parentb2f601ba9ac02bf069fd6d8aa925ed15445fd02b (diff)
downloadglibc-33647a7294266b57dab33491abc9ca969b6798e3.tar.gz
glibc-33647a7294266b57dab33491abc9ca969b6798e3.tar.xz
glibc-33647a7294266b57dab33491abc9ca969b6798e3.zip
support: Add xclock_gettime
	* support/xclock_gettime.c (xclock_gettime): New file. Provide
	clock_gettime wrapper for use in tests that fails the test rather
	than returning failure.

	* support/xtime.h: New file to declare xclock_gettime.

	* support/Makefile: Add xclock_gettime.c.

	* support/README: Mention xtime.h.
Diffstat (limited to 'support/Makefile')
-rw-r--r--support/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile
index 574e34cf1b..05865fef1e 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -78,6 +78,7 @@ libsupport-routines = \
   xbind \
   xcalloc \
   xchroot \
+  xclock_gettime \
   xclose \
   xconnect \
   xcopy_file_range \