From patchwork Thu Sep 7 12:00:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111900 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp96850ybm; Thu, 7 Sep 2017 05:18:13 -0700 (PDT) X-Google-Smtp-Source: ADKCNb69nNEjESbO0zLHdjimbh5kNk4B8RegtBkmXnoj/Uv4p5lGwekaPzhqoKo+5PzJxryNWK4M X-Received: by 10.200.22.8 with SMTP id p8mr3765881qtj.54.1504786693036; Thu, 07 Sep 2017 05:18:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504786693; cv=none; d=google.com; s=arc-20160816; b=jc67IP8CTXJPbhuX3TBPCG+IdGlzFXUgoTumaeBf+zufEo5VFgDm0RibeepaoL009+ Z1j4iFRoi9x4p7Rt/h6uoUHPkGYhdTOlESS+wjDL+aiKDfbDoY7UWskG8C1B1+eBPmJ/ TlKMfmv7Xc6mxrqmNziBOzKYNcpkKhAxewVOZqbCCxMlv7636bIh7P0b34VWIl/Qg8mO 6YM/YRuG70rwmFP8aIlKOeocN0HtuDzdx0aMPqr9SFQ2C2prrhtBoO8zjLsx9fLzLrXw CwnoZtE96eYlEv10Wk+YVlzLPkkH7DjHspQpzevL84Qt9OC41dTzmXc6X/doivu36XPX V/+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=m7ikrMUePL03QHokl3aURxxyKNwrXppIGiDQvXpnrS8=; b=vsNSFfsdQr4tWi4vdICyn5GVGlLP1PMIJtViqmjDK62Fxhgb/bTKubfHlTFpGC1vjz 5zTc1GRK0zOEvZ03RzmZIalyIVCswhTcW9yY43mUPiTmxYSBBd9Ow0kJ+zBc/ntdj4SB vytSU0lIGA6ct0+POwf+SXcPRqgC7V9GQMLb2eaRKRUO0ZFbNuhFec2EniiHNPTTQwhh Wf4M11m9hvq6znf6DkkN+Qx7AN5geOmsRS3IYFaLLEMHCSVeXJH7dOsn6Q+VockUHMpv wYbgqFKe6CRKd1NaYkOLygpqPLdQOc3Ydak4na/NwrpTYdCfi9OH1SliF+htJ9ytHQnR DJ5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id y129si2645028qke.382.2017.09.07.05.18.12; Thu, 07 Sep 2017 05:18:13 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id AA9716486B; Thu, 7 Sep 2017 12:18:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id AA130644FC; Thu, 7 Sep 2017 12:07:08 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 4D2276081A; Thu, 7 Sep 2017 12:06:20 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 84511644EA for ; Thu, 7 Sep 2017 12:00:35 +0000 (UTC) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward101j.mail.yandex.net (Yandex) with ESMTP id C1AA0124640A for ; Thu, 7 Sep 2017 15:00:33 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ag9lT7fy2e-0XwGqwSE; Thu, 07 Sep 2017 15:00:33 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OSCKROY85q-0XdSPxCI; Thu, 07 Sep 2017 15:00:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 7 Sep 2017 15:00:04 +0300 Message-Id: <1504785609-27545-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504785609-27545-1-git-send-email-odpbot@yandex.ru> References: <1504785609-27545-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 165 Subject: [lng-odp] [PATCH v4 9/14] helper: test: rework build system X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov - Stop using extra libraries just to create a test executable - Stop using EXTRA_DIST to distribute headers, include them into _SOURCES - Stop using unnecessary dist_ prefixes, sources are distributed automatically Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 165 (lumag:improve-build-3) ** https://github.com/Linaro/odp/pull/165 ** Patch: https://github.com/Linaro/odp/pull/165.patch ** Base sha: 360c1d34b52a2356619b9290811862b9de41de00 ** Merge commit sha: b3c5b66f989f86f62c8d44471480599b93cac6c0 **/ helper/test/Makefile.am | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am index e30a1e71..983e2c68 100644 --- a/helper/test/Makefile.am +++ b/helper/test/Makefile.am @@ -44,15 +44,13 @@ if test_helper TESTS = $(EXECUTABLES) $(TESTSCRIPTS) endif -dist_bin_SCRIPTS = - test_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY) -EXTRA_DIST = odpthreads_as_processes odpthreads_as_pthreads +dist_check_SCRIPTS = odpthreads_as_processes odpthreads_as_pthreads -dist_chksum_SOURCES = chksum.c -dist_cuckootable_SOURCES = cuckootable.c -dist_odpthreads_SOURCES = odpthreads.c -dist_parse_SOURCES = parse.c -dist_table_SOURCES = table.c -dist_iplookuptable_SOURCES = iplookuptable.c +chksum_SOURCES = chksum.c +cuckootable_SOURCES = cuckootable.c +odpthreads_SOURCES = odpthreads.c +parse_SOURCES = parse.c +table_SOURCES = table.c +iplookuptable_SOURCES = iplookuptable.c