From patchwork Wed May 20 16:11:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 48809 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8E1C32121F for ; Wed, 20 May 2015 16:12:30 +0000 (UTC) Received: by laat2 with SMTP id t2sf19114142laa.2 for ; Wed, 20 May 2015 09:12:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc: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=0zyIiYtguzJYR96UeFP0HNFA6g9nwCU5JTTXU2mJ158=; b=awRYSmsbRmxELykf9cNjR87YeBECFmyQYQw2wW6EMMxJ/q7/wjDbdPQ9d1sRFNcAC2 uCGbOlML9M2P+8tXvlpVYAj74+0zgTukixwl71kvpHDZrht7qQpEo7KhasfVglxsdRQ/ 8XnVfl/nse9RVO72JL97/z9oOxZbwejEy9SvaNX0ZwYdQlH5LrGjJCPiMJTpXyM56+8G xbMPMOSD/4Tz36JF1LMKGySiXQ7CyzzTi8MvmCIkyIqjlNAgLPU2RI0KlxVxy2M89VZr wj7XNPHTDed/lyvSJet05NhbMq/jbH5XKQ2akJkGN4BmbWY4BchYNPqRigTAUiTXdMPb Iygg== X-Gm-Message-State: ALoCoQkwg6bT59J4NFePTlrdZK0IhgQuVD1cH83F1+UbdrFZJPNa/dvWoye4xozgNXyStNJmm9IX X-Received: by 10.180.97.9 with SMTP id dw9mr3253647wib.2.1432138349471; Wed, 20 May 2015 09:12:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.179.12 with SMTP id dc12ls194887lac.17.gmail; Wed, 20 May 2015 09:12:29 -0700 (PDT) X-Received: by 10.112.211.134 with SMTP id nc6mr26498063lbc.52.1432138349299; Wed, 20 May 2015 09:12:29 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id lf11si11441074lac.24.2015.05.20.09.12.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 09:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by laat2 with SMTP id t2so81106646laa.1 for ; Wed, 20 May 2015 09:12:29 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr27201589lbc.32.1432138349189; Wed, 20 May 2015 09:12:29 -0700 (PDT) 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.108.230 with SMTP id hn6csp1639187lbb; Wed, 20 May 2015 09:12:28 -0700 (PDT) X-Received: by 10.140.148.72 with SMTP id 69mr35511997qhu.93.1432138347610; Wed, 20 May 2015 09:12:27 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z105si13474076qgz.67.2015.05.20.09.12.26; Wed, 20 May 2015 09:12:27 -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; Received: by lists.linaro.org (Postfix, from userid 109) id BE7ED61E6E; Wed, 20 May 2015 16:12:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 1B04561DC0; Wed, 20 May 2015 16:12:24 +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 89BBB61E55; Wed, 20 May 2015 16:12:18 +0000 (UTC) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id 3A18F61E6A for ; Wed, 20 May 2015 16:11:54 +0000 (UTC) Received: by laat2 with SMTP id t2so81080914laa.1 for ; Wed, 20 May 2015 09:11:52 -0700 (PDT) X-Received: by 10.153.11.163 with SMTP id ej3mr26242490lad.105.1432138312479; Wed, 20 May 2015 09:11:52 -0700 (PDT) Received: from erachmi-VirtualBox.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by mx.google.com with ESMTPSA id v6sm4680381laa.23.2015.05.20.09.11.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 May 2015 09:11:51 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org Date: Wed, 20 May 2015 18:11:28 +0200 Message-Id: <1432138289-26907-2-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432138289-26907-1-git-send-email-christophe.milard@linaro.org> References: <1432138289-26907-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCHv3 1/2] validation: init src files in single directory X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christophe.milard@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.44 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 The 3 tests for initialisation still generate 3 executables, but their sources are simply gathered in a single directory called as the module itself, init. And other cosmetic fixes to please check-odp. Signed-off-by: Christophe Milard --- test/validation/Makefile.am | 6 +++--- test/validation/{ => init}/odp_init.c | 3 ++- test/validation/{ => init}/odp_init_abort.c | 0 test/validation/{ => init}/odp_init_log.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) rename test/validation/{ => init}/odp_init.c (95%) rename test/validation/{ => init}/odp_init_abort.c (100%) rename test/validation/{ => init}/odp_init_log.c (95%) diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am index 7470d9d..814873c 100644 --- a/test/validation/Makefile.am +++ b/test/validation/Makefile.am @@ -47,9 +47,9 @@ dist_odp_classification_SOURCES = classification/odp_classification_tests.c \ odp_crypto_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/crypto dist_odp_crypto_SOURCES = crypto/odp_crypto_test_inp.c \ odp_crypto.c $(ODP_CU_COMMON) -dist_odp_init_SOURCES = odp_init.c -dist_odp_init_abort_SOURCES = odp_init_abort.c -dist_odp_init_log_SOURCES = odp_init_log.c +dist_odp_init_SOURCES = init/odp_init.c +dist_odp_init_abort_SOURCES = init/odp_init_abort.c +dist_odp_init_log_SOURCES = init/odp_init_log.c dist_odp_queue_SOURCES = odp_queue.c $(ODP_CU_COMMON) dist_odp_random_SOURCES = odp_random.c $(ODP_CU_COMMON) dist_odp_scheduler_SOURCES = odp_scheduler.c $(ODP_CU_COMMON) diff --git a/test/validation/odp_init.c b/test/validation/init/odp_init.c similarity index 95% rename from test/validation/odp_init.c rename to test/validation/init/odp_init.c index 82f8849..1332757 100644 --- a/test/validation/odp_init.c +++ b/test/validation/init/odp_init.c @@ -8,12 +8,13 @@ #include #include -#define DEFAULT_MSG_POOL_SIZE (4*1024*1024) +#define DEFAULT_MSG_POOL_SIZE (4 * 1024 * 1024) #define DEFAULT_MSG_SIZE (8) static void test_odp_init_global(void) { int status; + status = odp_init_global(NULL, NULL); CU_ASSERT_FATAL(status == 0); diff --git a/test/validation/odp_init_abort.c b/test/validation/init/odp_init_abort.c similarity index 100% rename from test/validation/odp_init_abort.c rename to test/validation/init/odp_init_abort.c diff --git a/test/validation/odp_init_log.c b/test/validation/init/odp_init_log.c similarity index 95% rename from test/validation/odp_init_log.c rename to test/validation/init/odp_init_log.c index 275d343..98cc059 100644 --- a/test/validation/odp_init_log.c +++ b/test/validation/init/odp_init_log.c @@ -11,7 +11,7 @@ int replacement_logging_used; ODP_PRINTF_FORMAT(2, 3) -static int odp_init_log(odp_log_level_e level , const char *fmt, ...); +static int odp_init_log(odp_log_level_e level, const char *fmt, ...); static void test_odp_init_global_replace_log(void) {