summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-03 22:58:41 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-03 23:00:08 +0200
commitcb0dac0548e5e51ba21618bfe4711dc1a2bbcfb5 (patch)
treea8b69c2b2507378c89cdb37ebe0683da34832c5e /Makefile.am
parentd3b9e0ff4e9f1b0bb328dc57ca5507bac48a6615 (diff)
time: add suppot for fractional time specifications
We can now parse "0.5s" as the same as "500ms". In fact, we can parse "3.45years" correctly, too, and any other unit and fraction length.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b63f9a0535..59a3886f1c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1088,7 +1088,8 @@ noinst_tests += \
test-strip-tab-ansi \
test-cgroup-util \
test-prioq \
- test-fileio
+ test-fileio \
+ test-time
EXTRA_DIST += \
test/sched_idle_bad.service \
@@ -1197,6 +1198,15 @@ test_fileio_CFLAGS = \
test_fileio_LDADD = \
libsystemd-core.la
+test_time_SOURCES = \
+ src/test/test-time.c
+
+test_time_CFLAGS = \
+ $(AM_CFLAGS)
+
+test_time_LDADD = \
+ libsystemd-core.la
+
test_log_SOURCES = \
src/test/test-log.c