summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000000..78440d23f4
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,24 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
+TESTS = \
+ udev-test.pl \
+ rules-test.sh
+
+check_DATA = \
+ test/sys
+
+test/sys:
+ $(AM_V_at)$(MKDIR_P) $(dir $@)
+ $(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
+
+test-sys-distclean:
+ -rm -rf test/sys
+
+DISTCLEAN_LOCAL_HOOKS = \
+ test-sys-distclean
+
+EXTRA_DIST = \
+ sys.tar.xz \
+ udev-test.pl \
+ rules-test.sh \
+ rule-syntax-check.py