about summary refs log tree commit diff
path: root/time/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/Makefile')
-rw-r--r--time/Makefile61
1 files changed, 51 insertions, 10 deletions
diff --git a/time/Makefile b/time/Makefile
index f4c75b786d..4bfb208110 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -42,31 +42,70 @@ routines := offtime asctime clock ctime ctime_r difftime \
 
 aux :=	    era alt_digit lc-time-cleanup
 
-tests	:= test_time clocktest tst-posixtz tst-strptime tst_wcsftime \
-	   tst-getdate tst-mktime tst-mktime2 tst-ftime_l tst-strftime \
-	   tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r bug-mktime1 \
-	   tst-strptime3 bug-getdate1 tst-strptime-whitespace tst-ftime \
-	   tst-tzname tst-y2039 bug-mktime4 tst-strftime2 tst-strftime3 \
-	   tst-clock tst-clock2 tst-clock_nanosleep tst-cpuclock1 \
-	   tst-adjtime tst-ctime tst-difftime tst-mktime4 tst-clock_settime \
-	   tst-settimeofday tst-itimer tst-gmtime tst-timegm \
-	   tst-timespec_get tst-timespec_getres tst-strftime4 \
-	   tst-tzfile-fault
+tests := \
+  bug-asctime \
+  bug-asctime_r \
+  bug-getdate1 \
+  bug-mktime1 \
+  bug-mktime4 \
+  clocktest \
+  test_time \
+  tst-adjtime \
+  tst-clock \
+  tst-clock2 \
+  tst-clock_gettime \
+  tst-clock_nanosleep \
+  tst-clock_settime \
+  tst-cpuclock1 \
+  tst-ctime \
+  tst-difftime \
+  tst-ftime \
+  tst-ftime_l \
+  tst-getdate \
+  tst-gettimeofday \
+  tst-gmtime \
+  tst-itimer \
+  tst-mktime \
+  tst-mktime2 \
+  tst-mktime3 \
+  tst-mktime4 \
+  tst-posixtz \
+  tst-settimeofday \
+  tst-strftime \
+  tst-strftime2 \
+  tst-strftime3 \
+  tst-strftime4 \
+  tst-strptime \
+  tst-strptime-whitespace \
+  tst-strptime2 \
+  tst-strptime3 \
+  tst-time \
+  tst-timegm \
+  tst-timespec_get \
+  tst-timespec_getres \
+  tst-tzfile-fault \
+  tst-tzname \
+  tst-y2039 \
+  tst_wcsftime \
+  # tests
 
 tests-time64 := \
   tst-adjtime-time64 \
   tst-clock-time64 \
   tst-clock2-time64 \
+  tst-clock_gettime-time64 \
   tst-clock_nanosleep-time64 \
   tst-clock_settime-time64 \
   tst-cpuclock1-time64 \
   tst-ctime-time64 \
   tst-difftime-time64 \
+  tst-gettimeofday-time64 \
   tst-gmtime-time64 \
   tst-itimer-time64 \
   tst-mktime4-time64 \
   tst-settimeofday-time64 \
   tst-strftime4-time64 \
+  tst-time-time64 \
   tst-timegm-time64 \
   tst-timespec_get-time64 \
   tst-timespec_getres-time64 \
@@ -88,6 +127,8 @@ $(objpfx)tst-strftime2.out: $(gen-locales)
 $(objpfx)tst-strftime3.out: $(gen-locales)
 endif
 
+$(objpfx)tst-clock_gettime: $(librt)
+$(objpfx)tst-clock_gettime-time64: $(librt)
 $(objpfx)tst-clock_nanosleep: $(librt)
 $(objpfx)tst-clock_nanosleep-time64: $(librt)