From patchwork Tue Sep 5 20:00:03 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: 111730 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3307967qge; Tue, 5 Sep 2017 13:10:40 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4VgmSFzveTxL/fH3xuP4CDvsgaTA+YykDXhQl2iD1v3Lh7BeGfPUrJTV0myQk/ZFcidL9s X-Received: by 10.55.161.85 with SMTP id k82mr406687qke.156.1504642239928; Tue, 05 Sep 2017 13:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504642239; cv=none; d=google.com; s=arc-20160816; b=kBdFLIlrbhfHi+c7uKqIzH6dczyxY0PdHfbjTzJ4WavdlzapHpJEIoTdUCYLBeAOnD yRPAAA4Go3324wbCUp2VN5dGWNHVAcRXculld9TPEK9Lp6td5doBkpnGlL4MM5EsR/f0 32zSGJNnsr2lIL7ZMXEcXutVwRN3oqoDvto432wrCl4jT1VN8EJIMFSJuf0IhHUmlhHa TB9yZf3b7lBtRPsSs0hKXLh2VzBwzJ1tLCAN5aBQfSTnQ3QrtqfV4T9LpR2z3PvzJ8KU gweS/R1Yask7bDY6RQgaXVhfL4/160aW+30FSEJ9VaUkHE037sE2NEYs6eYfEYmQTIKA UF6A== 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=WCZmbK1tiQ40capA68IbVI3rrWC7TEyD8ezYrjR/rVs=; b=UkIeLcI6ZbJaFrq/ghPTNpTEwsBUhcrj1JOMbNGmgKTqmwTYdLwOcHnqvKhUQdU46F eXThaUrpo1GZBXdSB1dwKDLxvpmFxuI1IoBrd4zo1Shl61E8GQroHOhfmxnWVJh6BZE4 u09zEHZbhsn1Bc5R26QOUP5IDdTLSo/4egswRG6tV1kfaDj5pIXGYx1nitefFCyIvpUZ IVY+/4E/vZ+MvalNq7A+C+r7olEoQk6Juc/CqEVK8u9EJ9HnaXtCAk9WQ+m7r+tCHECf eVVtkZZfrADNwX0IL6OVohhzq7ibryD09KWwtbe2yLMuGawpeYW7lamwRJ7qmYYrWjX6 Z6Bg== 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 t33si1159282qtb.90.2017.09.05.13.10.39; Tue, 05 Sep 2017 13:10:39 -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 6ED8262CED; Tue, 5 Sep 2017 20:10:39 +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 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 D4FD862CFA; Tue, 5 Sep 2017 20:01:26 +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 8D69861E03; Tue, 5 Sep 2017 20:00:39 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id D06806156B for ; Tue, 5 Sep 2017 20:00:23 +0000 (UTC) Received: from mxback10j.mail.yandex.net (mxback10j.mail.yandex.net [IPv6:2a02:6b8:0:1619::113]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 6CD1618448C for ; Tue, 5 Sep 2017 23:00:22 +0300 (MSK) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [2a02:6b8:0:801::ac]) by mxback10j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xEBjz1YW5R-0MBOvj7L; Tue, 05 Sep 2017 23:00:22 +0300 Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id anlnl3rubP-0Mi8lHVW; Tue, 05 Sep 2017 23:00:22 +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: Tue, 5 Sep 2017 23:00:03 +0300 Message-Id: <1504641607-4966-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504641607-4966-1-git-send-email-odpbot@yandex.ru> References: <1504641607-4966-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 165 Subject: [lng-odp] [PATCH v3 9/13] 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: 42184679185ce0c979e065349360167e3fce6ca0 ** Merge commit sha: 38d800e8e4b3c89a118426f28490b2e87091e127 **/ 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