From 7c170724003f42cd4ceea9f6c805292bbe2e81b2 Mon Sep 17 00:00:00 2001 From: Rodrigo Vivi Date: Tue, 5 Feb 2013 16:17:54 -0200 Subject: Build: Add --disable-tests configure flag to avoid tests build Tests are still being built by default. However this request came from OSVs in order to allow them to include i-g-t in their distributions by default avoiding adding more and more dependencies since we are improving and adding more and more tests. v2: wait for Ben's spacing fixes and adjusted for new space rules. Signed-off-by: Rodrigo Vivi Acked-by: Paul Menzel Reviewed-by: Takashi Iwai Signed-off-by: Daniel Vetter --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5ea0fd87..0dd615b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,12 +21,16 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -SUBDIRS = lib man tools scripts tests benchmarks demos +SUBDIRS = lib man tools scripts benchmarks demos if BUILD_SHADER_DEBUGGER SUBDIRS += debugger endif +if BUILD_TESTS +SUBDIRS += tests +endif + test: ${MAKE} -C tests test -- cgit v1.2.3