diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-01-31 11:30:46 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-01-31 18:04:25 +0100 |
commit | 72c8155d9fc0eaeac72c053f46ebb7b231d4596a (patch) | |
tree | 5758865289c52fa93f56e3fe743bb40c283c5233 /lib/io/Makemodule.am | |
parent | cdccc69c62579b0c13b35fad0728079652b8f3c9 (diff) |
Reintegrate test code with library code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/io/Makemodule.am')
-rw-r--r-- | lib/io/Makemodule.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/io/Makemodule.am b/lib/io/Makemodule.am index c331124..17952f4 100644 --- a/lib/io/Makemodule.am +++ b/lib/io/Makemodule.am @@ -14,3 +14,16 @@ libio_a_SOURCES += lib/io/src/unix/ostream.c lib/io/src/unix/istream.c endif noinst_LIBRARIES += libio.a + +test_get_line_SOURCES = lib/io/test/get_line.c +test_get_line_LDADD = libio.a libcompat.a +test_get_line_CPPFLAGS = $(AM_CPPFLAGS) +test_get_line_CPPFLAGS += -DTESTFILE=$(top_srcdir)/lib/io/test/get_line.txt + +test_sparse_fb_SOURCES = lib/io/test/sparse_fb.c +test_sparse_fb_LDADD = libio.a libutil.a libcompat.a + +check_PROGRAMS += test_get_line test_sparse_fb +TESTS += test_get_line test_sparse_fb + +EXTRA_DIST += $(top_srcdir)/lib/io/test/get_line.txt |