From patchwork Tue Sep 5 19:00:05 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: 111715 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3240690qge; Tue, 5 Sep 2017 12:07:01 -0700 (PDT) X-Google-Smtp-Source: ADKCNb53mSWgwArFDm46adel+CrBA2o+72iB1NqFjbrMNTnH0yMy9yu15zAxKst8PiJDLAA9B+Lt X-Received: by 10.200.42.4 with SMTP id k4mr166336qtk.268.1504638421742; Tue, 05 Sep 2017 12:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504638421; cv=none; d=google.com; s=arc-20160816; b=WMDClUOmRU/6QWJXBA9i/pfjOu4lhAFoIGsemw22vSqu2h4bXNDiwy+1AMMudY2OQG kGZbZTyE3OPqJtB5xGblHvfK8biypthUkrJnxjCmzu0sNa6zzvljyNuLfeZWB2qb0Lna hcL5xosAcEr8mi3s+KRpBCHK+BAHEDeEJ+Y14DaEMQC9kuaOXoB7uIVCPtVczZ1m7Kmi K5tgKb7cyiX+lC6dGaJnAGgt0XMcCkHSOkDpiMNctPUiuLldVPcXioK5f8qVi55PfBud B5//APuDT0jGQPaaILZJscq5ojR3hMpKBh3mMKO16tM+qqIUlA+AtKgqn2CtA9l6n+cX YUVg== 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=rOPyuBxmGLYe4ZareXpTLr8PO0Ig8l2ByIn1PuC+9to=; b=C3I4lOUUSjTSW9kYlIpwF6IVqS3tC8J1ry4CW3T+T3Yz2WNbEomhM2cYv7b5d4TQ2f yjnRLzLBo3S3YJkY1gm/xtagxDF9tgACgCvX9JTFGcCyhUP79MHNhmayFrSzGtubWZ+R YzoUUiqe1inhi5WkP83Vl1FzFWHR3UJXH2+qIZALtzuuwj061Hul4ONO27hB6vYB6fOb OlyIAOdPBreOl7GiuEkjKs7XQ57lP23Cr0bAh6qOTUXfohe63IUaMCzFum5BLMAVt/6T PhBjQwKrmexDVhvpn7cy2UGKLMq1WYhpFZOSD7SLaCb2UA50Me3NIXHBcs9Oyj83UScu IEtg== 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 x128si1076307qkc.234.2017.09.05.12.07.01; Tue, 05 Sep 2017 12:07:01 -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 4C34B61E02; Tue, 5 Sep 2017 19:07:01 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW 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 7DA146074F; Tue, 5 Sep 2017 19:01:12 +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 19E1961D9A; Tue, 5 Sep 2017 19:00:36 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 569C160AD0 for ; Tue, 5 Sep 2017 19:00:23 +0000 (UTC) Received: from mxback1o.mail.yandex.net (mxback1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1b]) by forward102p.mail.yandex.net (Yandex) with ESMTP id CFC584305408 for ; Tue, 5 Sep 2017 22:00:21 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback1o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3wHFDujMIk-0LRinEej; Tue, 05 Sep 2017 22:00:21 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id k2pMwToQDC-0LEm5i7k; Tue, 05 Sep 2017 22:00:21 +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 22:00:05 +0300 Message-Id: <1504638007-2671-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504638007-2671-1-git-send-email-odpbot@yandex.ru> References: <1504638007-2671-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 165 Subject: [lng-odp] [PATCH v1 9/11] 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: c9bd3cdd91bd495988653511548fd4525579db79 **/ 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