summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola2015-03-23 00:05:28 +0100
committerKarel Zak2015-03-23 10:34:49 +0100
commit5fac518cefdba5c06829be187cefa3e904a7e1b3 (patch)
tree62686b68308c2ecd352d13303a19252db56629cf /sys-utils/Makemodule.am
parenttests: add dmesg multiline message check (diff)
downloadkernel-qcow2-util-linux-5fac518cefdba5c06829be187cefa3e904a7e1b3.tar.gz
kernel-qcow2-util-linux-5fac518cefdba5c06829be187cefa3e904a7e1b3.tar.xz
kernel-qcow2-util-linux-5fac518cefdba5c06829be187cefa3e904a7e1b3.zip
tests: add test_dmesg that has fixed boot time
This allows testing time stamp formats. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index d538cdad7..a1dc042d6 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -75,6 +75,10 @@ dist_man_MANS += sys-utils/dmesg.1
dmesg_SOURCES = sys-utils/dmesg.c lib/monotonic.c
dmesg_LDADD = $(LDADD) libcommon.la libtcolors.la $(REALTIME_LIBS)
dmesg_CFLAGS = $(AM_CFLAGS)
+check_PROGRAMS += test_dmesg
+test_dmesg_SOURCES = $(dmesg_SOURCES)
+test_dmesg_LDADD = $(dmesg_LDADD)
+test_dmesg_CFLAGS = -DTEST_DMESG $(dmesg_CFLAGS)
endif
if BUILD_CTRLALTDEL