From 8c294c1cd4d721818a59684cf7f2b36123f79163 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 18 Mar 2013 10:39:50 -0400 Subject: BUILD: Always run distcheck and RPM tests in /dev/shm Some of the tests (such as the sysdb tests) are highly I/O limited. By running them on a ramdisk, we can significantly speed up the test runs when doing a distcheck or RPM build. https://fedorahosted.org/sssd/ticket/1840 --- Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 9dbde039..39e6e074 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,11 @@ +extra_distcheck_flags = +if HAVE_DEVSHM + extra_distcheck_flags += --with-test-dir=/dev/shm +endif + DISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \ - --enable-all-experimental-features + --enable-all-experimental-features \ + $(extra_distcheck_flags) SUBDIRS = po -- cgit