From patchwork Mon Jun 25 17:36:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 10487095 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 339E460230 for ; Mon, 25 Jun 2018 17:39:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5267427F88 for ; Mon, 25 Jun 2018 17:39:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 470C62843B; Mon, 25 Jun 2018 17:39:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EC7A327F88 for ; Mon, 25 Jun 2018 17:39:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2892F89339; Mon, 25 Jun 2018 17:38:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) by gabe.freedesktop.org (Postfix) with ESMTPS id EDE426E36E for ; Mon, 25 Jun 2018 17:38:35 +0000 (UTC) Received: by mail-wr0-x22e.google.com with SMTP id w10-v6so14524113wrk.9 for ; Mon, 25 Jun 2018 10:38:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kIxo/sTFpm1+GGa16TI4GT/Igz6qBsD/Y4sYtZHzob0=; b=GekcYRrj8xpxQede3uAisrFPsSXRfb0R36y+5riXZ4zgI9QrfNYaa93RSQDVSTXKEQ LQG9pRyvTxVSvr4CbFCPTUrLRm6YLnO/4xeHN0meLY/PduNtqxtpGsm6karpg+KFZmKq U7sTu62zr+9bLMuHaUZYrZ5zk42Nmc+1DdMYm2Tv1zbg5R+hLtL+SDk6XkIsIl3aRGVb kiz1D2jckitEI8fSmfrM0qjmbwg25Ihp9dKc0HCiufsfT1Gvu3dDc9Myl4YKhZgvcpD7 qTOxNvhcxDaLlj6O3jV5SGPQF6NmrD42/RGQy+Mv839kzZECfrTdCebZ2ow0p91mYotM TOVA== X-Gm-Message-State: APt69E1qw6fuKb1Phmc4hPKcCgbz958t2UzO2ydUfj0tFwNIxnMiB2hf VkY7zdInlfKTsW0LsKinyEYFng== X-Google-Smtp-Source: AAOMgpeF2cyMdu1f+XOnSUro978chCAMkazzB9SSfO46OV2kCvl/vwJL//J2k4WeLZ3+IoCL7G23tQ== X-Received: by 2002:adf:dd8c:: with SMTP id x12-v6mr11945629wrl.212.1529948314486; Mon, 25 Jun 2018 10:38:34 -0700 (PDT) Received: from arch-x1c3.cbg.collabora.co.uk ([2a00:5f00:102:0:9665:9cff:feee:aa4d]) by smtp.gmail.com with ESMTPSA id p8-v6sm6581019wrq.70.2018.06.25.10.38.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 10:38:33 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 07/10] tests/drmdevices: install alongside other utilities Date: Mon, 25 Jun 2018 18:36:23 +0100 Message-Id: <20180625173626.8046-7-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180625173626.8046-1-emil.l.velikov@gmail.com> References: <20180625173626.8046-1-emil.l.velikov@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emil.l.velikov@gmail.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Emil Velikov It's mildly useful program, to ship it when the user wants the "tests" installed. Obviously the "tests" in the name is a misnomer. Signed-off-by: Emil Velikov --- tests/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 0355a925..b72c24f9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -43,5 +43,10 @@ TESTS = \ random check_PROGRAMS = \ - $(TESTS) \ - drmdevice + $(TESTS) + +if HAVE_INSTALL_TESTS +bin_PROGRAMS = drmdevice +else +check_PROGRAMS += drmdevice +endif