summaryrefslogtreecommitdiffstats
path: root/tests.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests.mk')
-rw-r--r--tests.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests.mk b/tests.mk
new file mode 100644
index 0000000..4760b76
--- /dev/null
+++ b/tests.mk
@@ -0,0 +1,8 @@
+ALL_TEST_FILES = $(shell find $(top_srcdir)/tests -type f -print)
+
+regressiontestsdir = $(datarootdir)/glusterfs
+
+nobase_dist_regressiontests_DATA = $(ALL_TEST_FILES) run-tests.sh
+
+install-data-hook:
+ chmod +x $(DESTDIR)$(datarootdir)/glusterfs/run-tests.sh