summaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
authorKarel Zak2012-06-01 15:30:56 +0200
committerKarel Zak2012-06-26 20:50:53 +0200
commitac73480a348b659e011054248de00a637dad3421 (patch)
tree12ac2dc8552238b24e12e476e93564c87d83bef4 /tests/helpers
parentbuild-sys: move partx to disk-utils/ (diff)
downloadkernel-qcow2-util-linux-ac73480a348b659e011054248de00a637dad3421.tar.gz
kernel-qcow2-util-linux-ac73480a348b659e011054248de00a637dad3421.tar.xz
kernel-qcow2-util-linux-ac73480a348b659e011054248de00a637dad3421.zip
build-sys: convert tests/ to module
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/helpers')
-rw-r--r--tests/helpers/Makefile.am9
-rw-r--r--tests/helpers/Makemodule.am12
2 files changed, 12 insertions, 9 deletions
diff --git a/tests/helpers/Makefile.am b/tests/helpers/Makefile.am
deleted file mode 100644
index fa95b9efa..000000000
--- a/tests/helpers/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-include $(top_srcdir)/config/include-Makefile.am
-
-noinst_PROGRAMS = \
- test_byteswap \
- test_md5 \
- test_pathnames \
- test_sysinfo
-
-test_md5_SOURCES = test_md5.c $(top_srcdir)/lib/md5.c
diff --git a/tests/helpers/Makemodule.am b/tests/helpers/Makemodule.am
new file mode 100644
index 000000000..0228cb327
--- /dev/null
+++ b/tests/helpers/Makemodule.am
@@ -0,0 +1,12 @@
+
+noinst_PROGRAMS += test_byteswap
+test_byteswap_SOURCES = tests/helpers/test_byteswap.c
+
+noinst_PROGRAMS += test_md5
+test_md5_SOURCES = tests/helpers/test_md5.c lib/md5.c
+
+noinst_PROGRAMS += test_pathnames
+test_pathnames_SOURCES = tests/helpers/test_pathnames.c
+
+noinst_PROGRAMS += test_sysinfo
+test_sysinfo_SOURCES = tests/helpers/test_sysinfo.c