summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2013-02-07 10:30:03 -0800
committerBen Widawsky <ben@bwidawsk.net>2013-02-07 10:30:03 -0800
commit3a752a3d9a7aa2c9d8c710c7c889e9cd09384aed (patch)
treecd331dc2adcbb5b8a751a76e32cf2922cb37b870 /tests
parent7c170724003f42cd4ceea9f6c805292bbe2e81b2 (diff)
configure: slightly more standard --disable-tests
Cc: Julien Cristau <jcristau@debian.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 20b73244..ef68a022 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,4 @@
+if BUILD_TESTS
noinst_PROGRAMS = \
gem_stress \
$(TESTS_progs) \
@@ -195,3 +196,4 @@ prime_nv_api_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
prime_nv_api_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
prime_nv_pcopy_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
prime_nv_pcopy_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
+endif