summaryrefslogtreecommitdiff
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-19 16:07:55 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-20 20:39:30 +0200
commitd766a9b089aefff63bca3e9914f5332af65efd12 (patch)
tree507ed59787e1a61770831034ebf7c3ff20558193 /tests/Makemodule.am
parentf2981c2ff581e4e425c7b23da43aee29f25232c5 (diff)
Add unit tests
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r--tests/Makemodule.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
new file mode 100644
index 0000000..d7d0b70
--- /dev/null
+++ b/tests/Makemodule.am
@@ -0,0 +1,20 @@
+test_canonicalize_name_SOURCES = tests/canonicalize_name.c
+test_canonicalize_name_LDADD = libutil.a
+
+test_mknode_simple_SOURCES = tests/mknode_simple.c
+test_mknode_simple_LDADD = libfstree.a
+
+test_mknode_slink_SOURCES = tests/mknode_slink.c
+test_mknode_slink_LDADD = libfstree.a
+
+test_mknode_reg_SOURCES = tests/mknode_reg.c
+test_mknode_reg_LDADD = libfstree.a
+
+test_mknode_dir_SOURCES = tests/mknode_dir.c
+test_mknode_dir_LDADD = libfstree.a
+
+check_PROGRAMS += test_canonicalize_name test_mknode_simple test_mknode_slink
+check_PROGRAMS += test_mknode_reg test_mknode_dir
+
+TESTS += test_canonicalize_name test_mknode_simple test_mknode_slink
+TESTS += test_mknode_reg test_mknode_dir