From patchwork Mon Feb 2 14:04:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 44145 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6442D202A5 for ; Mon, 2 Feb 2015 14:05:04 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id s18sf16434888lam.2 for ; Mon, 02 Feb 2015 06:05:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=eGdOsBL3S0FCKZex9YMf5V6sXdJauQy7HjtCXvicswI=; b=ZZk2G3UEUl2HfLBKObpEg6WrabLKHWk+1jaZ34EU+DRampel39WsdH2VKuuGCb7e7X NDzGwOFdm6nCVuRG4Qag9o5pA6dX8iDMRxzn3JGj4yeO5crdvqEp2yHc/5PBVKh22hC5 bJ6Yl2wUBLh9wOjZRivTdki6rbR+4RXRcnBRCX1zqbQS8WGD61pftNt1Uq5Jxo9qT/WV GYuHye/p8G0pzVVIY+81p2ySEiDsOojAXX8cz+Whku1lzfRaw+eOiOjTCQ1sqZO7Oaci WCRaUZO1wXb1bgfTFdoWBgGBO1i/K65eqq6YzfUIQ2uKB+EmQQTcOOtoqvKImBenx467 EWsQ== X-Gm-Message-State: ALoCoQlgp4Y1ZCNthde6vs13C9uEaXW4KfUpMkp+C7y7bGEwVC5+Q/zF6Lyx4fP2yjPw7iXDTvVb X-Received: by 10.112.160.3 with SMTP id xg3mr112199lbb.5.1422885903366; Mon, 02 Feb 2015 06:05:03 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.136 with SMTP id k8ls632523lak.21.gmail; Mon, 02 Feb 2015 06:05:03 -0800 (PST) X-Received: by 10.112.125.41 with SMTP id mn9mr19430085lbb.80.1422885903208; Mon, 02 Feb 2015 06:05:03 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id je6si3365791lac.79.2015.02.02.06.05.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Feb 2015 06:05:03 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id q1so41083500lam.2 for ; Mon, 02 Feb 2015 06:05:03 -0800 (PST) X-Received: by 10.112.173.202 with SMTP id bm10mr19523807lbc.24.1422885903104; Mon, 02 Feb 2015 06:05:03 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1313410lbj; Mon, 2 Feb 2015 06:05:02 -0800 (PST) X-Received: by 10.236.216.3 with SMTP id f3mr7976286yhp.158.1422885901291; Mon, 02 Feb 2015 06:05:01 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id i1si4047388yhq.53.2015.02.02.06.05.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Feb 2015 06:05:01 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YIHcX-0005lR-4R; Mon, 02 Feb 2015 14:04:57 +0000 Received: from mail-la0-f49.google.com ([209.85.215.49]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YIHcR-0005lM-6a for lng-odp@lists.linaro.org; Mon, 02 Feb 2015 14:04:51 +0000 Received: by mail-la0-f49.google.com with SMTP id gf13so40899716lab.8 for ; Mon, 02 Feb 2015 06:04:45 -0800 (PST) X-Received: by 10.112.159.195 with SMTP id xe3mr19373734lbb.64.1422885885148; Mon, 02 Feb 2015 06:04:45 -0800 (PST) Received: from localhost.localdomain (broadband-46-188-125-106.2com.net. [46.188.125.106]) by mx.google.com with ESMTPSA id n3sm4422436lbm.39.2015.02.02.06.04.43 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Feb 2015 06:04:44 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Mon, 2 Feb 2015 17:04:40 +0300 Message-Id: <1422885880-5797-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCHv4] validation: reorder Makefile.am X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 1. Reorder programs in Makefile.am to be in alphabetical order. 2. Put common source to variable. 3. Put source names on separate line to have less merge conflicts. Signed-off-by: Maxim Uvarov --- v4: update to latest git, line up EXECUTABLES, alphabetic order of sources. test/validation/Makefile.am | 60 +++++++++++++++++++++++++++++---------------- 1 file changed, 39 insertions(+), 21 deletions(-) diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am index 2942b85..9ed01ac 100644 --- a/test/validation/Makefile.am +++ b/test/validation/Makefile.am @@ -5,33 +5,51 @@ AM_LDFLAGS += -static TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform} +EXECUTABLES = odp_buffer \ + odp_classification \ + odp_crypto \ + odp_init \ + odp_queue \ + odp_schedule \ + odp_shm \ + odp_system \ + odp_synchronizers \ + odp_time \ + odp_timer + +COMPILE_ONLY = odp_pktio + +TESTSCRIPTS = odp_pktio_run + if test_vald -TESTS = odp_init odp_queue odp_crypto odp_shm odp_schedule odp_pktio_run odp_buffer odp_system odp_timer odp_time odp_synchronizers odp_classification +TESTS = $(EXECUTABLES) $(TESTSCRIPTS) +bin_PROGRAMS = $(EXECUTABLES) $(COMPILE_ONLY) endif -bin_PROGRAMS = odp_init odp_queue odp_crypto odp_shm odp_schedule odp_pktio odp_buffer odp_system odp_timer odp_time odp_synchronizers odp_classification -odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto -odp_buffer_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/buffer -odp_classification_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/classification +check_PROGRAMS = ${bin_PROGRAMS} -dist_odp_init_SOURCES = odp_init.c -dist_odp_pktio_SOURCES = odp_pktio.c common/odp_cunit_common.c -dist_odp_queue_SOURCES = odp_queue.c common/odp_cunit_common.c -dist_odp_crypto_SOURCES = crypto/odp_crypto_test_async_inp.c \ - crypto/odp_crypto_test_sync_inp.c \ - crypto/odp_crypto_test_rng.c \ - odp_crypto.c common/odp_cunit_common.c -dist_odp_shm_SOURCES = odp_shm.c common/odp_cunit_common.c -dist_odp_schedule_SOURCES = odp_schedule.c common/odp_cunit_common.c +ODP_CU_COMMON=common/odp_cunit_common.c + +odp_buffer_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/buffer dist_odp_buffer_SOURCES = buffer/odp_buffer_pool_test.c \ buffer/odp_buffer_test.c \ buffer/odp_packet_test.c \ - odp_buffer.c common/odp_cunit_common.c -dist_odp_system_SOURCES = odp_system.c common/odp_cunit_common.c -dist_odp_timer_SOURCES = odp_timer.c common/odp_cunit_common.c -dist_odp_time_SOURCES = odp_time.c common/odp_cunit_common.c -dist_odp_synchronizers_SOURCES = odp_synchronizers.c \ - common/odp_cunit_common.c + odp_buffer.c $(ODP_CU_COMMON) +odp_classification_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/classification dist_odp_classification_SOURCES = classification/odp_classification_tests.c \ classification/odp_classification_basic.c \ - odp_classification.c common/odp_cunit_common.c + odp_classification.c $(ODP_CU_COMMON) +odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto +dist_odp_crypto_SOURCES = crypto/odp_crypto_test_async_inp.c \ + crypto/odp_crypto_test_sync_inp.c \ + crypto/odp_crypto_test_rng.c \ + odp_crypto.c $(ODP_CU_COMMON) +dist_odp_init_SOURCES = odp_init.c +dist_odp_queue_SOURCES = odp_queue.c $(ODP_CU_COMMON) +dist_odp_schedule_SOURCES = odp_schedule.c $(ODP_CU_COMMON) +dist_odp_shm_SOURCES = odp_shm.c $(ODP_CU_COMMON) +dist_odp_system_SOURCES = odp_system.c $(ODP_CU_COMMON) +dist_odp_synchronizers_SOURCES = odp_synchronizers.c $(ODP_CU_COMMON) +dist_odp_time_SOURCES = odp_time.c $(ODP_CU_COMMON) +dist_odp_timer_SOURCES = odp_timer.c $(ODP_CU_COMMON) +dist_odp_pktio_SOURCES = odp_pktio.c $(ODP_CU_COMMON)