summaryrefslogtreecommitdiff
path: root/tests/libfstream/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-05 15:53:21 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-06 22:08:36 +0100
commitb950412ca3a91aa37349cf51ebe98cc84767d448 (patch)
treee3bb062114d019984321a5a21b29818c88c36795 /tests/libfstream/Makemodule.am
parent3fc6bf24b5cc071fc323f08ece541e37578f6369 (diff)
Cleanup: add some structure to the test directory
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstream/Makemodule.am')
-rw-r--r--tests/libfstream/Makemodule.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/libfstream/Makemodule.am b/tests/libfstream/Makemodule.am
new file mode 100644
index 0000000..bba35f5
--- /dev/null
+++ b/tests/libfstream/Makemodule.am
@@ -0,0 +1,11 @@
+test_get_line_SOURCES = tests/libfstream/get_line.c tests/test.h
+test_get_line_LDADD = libfstream.a libcompat.a
+test_get_line_CPPFLAGS = $(AM_CPPFLAGS)
+test_get_line_CPPFLAGS += -DTESTFILE=$(top_srcdir)/tests/libfstream/get_line.txt
+
+if BUILD_TOOLS
+check_PROGRAMS += test_get_line
+TESTS += test_get_line
+endif
+
+EXTRA_DIST += $(top_srcdir)/tests/libfstream/get_line.txt