From: Ross Burton Subject: [PATCH] test: only build DRI2 tests if DRI2 is enabled Date: Wed, 11 Sep 2013 21:28:05 +0100 Message-ID: <1378931285-11032-1-git-send-email-ross.burton@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by gabe.freedesktop.org (Postfix) with ESMTP id C9FEEE5C14 for ; Wed, 11 Sep 2013 13:28:14 -0700 (PDT) Received: by mail-wg0-f50.google.com with SMTP id j13so8440227wgh.5 for ; Wed, 11 Sep 2013 13:28:14 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Ross Burton --- test/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/Makefile.am b/test/Makefile.am index 893fa7d..26d724a 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -16,9 +16,14 @@ stress_TESTS = \ render-copyarea-size \ render-copy-alphaless \ mixed-stress \ + $(NULL) + +if DRI2 +stress_TESTS += \ dri2-swap \ dri2-race \ $(NULL) +endif check_PROGRAMS = $(stress_TESTS) @@ -34,9 +39,14 @@ libtest_la_SOURCES = \ test_image.c \ test_log.c \ test_render.c \ + $(NULL) + +if DRI2 +libtest_la_SOURCES += \ dri2.c \ dri2.h \ $(NULL) +endif vsync.avi: mkvsync.sh ./mkvsync.sh $@ -- 1.7.10.4