From 5fac518cefdba5c06829be187cefa3e904a7e1b3 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 22 Mar 2015 23:05:28 +0000 Subject: tests: add test_dmesg that has fixed boot time This allows testing time stamp formats. Signed-off-by: Sami Kerola --- sys-utils/Makemodule.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-utils/Makemodule.am') 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 -- cgit v1.2.3-55-g7522