From patchwork Mon Jul 27 12:43:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 51531 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id E9FCA22918 for ; Mon, 27 Jul 2015 12:49:46 +0000 (UTC) Received: by wicmv11 with SMTP id mv11sf27542023wic.1 for ; Mon, 27 Jul 2015 05:49:46 -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=DJlEkVTN0YrhrHNoCa925sbiF04I6QCQvPBPKCKduaM=; b=O08Zoh9Rm7wbqn0S3/2dVVOCt+J0wUbYLwFdGue623p1syLdV0xA1fmLHUCupO6vRD yJ3i5aO/eNne4LZfqbLaGgVW5J5NaQtlXvhu/b5iIUUMnv8w1vkf2X6OKA+AOfFWtZnl wX0RqXA0umOnr8Mkw1UiLTKjMrTxbb5jgyyHDDP2aDn1ac0l1SzGx7bNU8s5oAWS/Y9d bh1T4slrJhA2gOuwKOdZNSwkpuMw43qZJNATkvdFg6QwqU8iE3kFhFQ80AGVRmsE4wWD uLyrdj908bKYJE4IxvYuB8gJzxUGU4iBWFqCAUJhhAUABgIlPQyTlXWYl3vQa5nSEMul MN2Q== X-Gm-Message-State: ALoCoQkTSrzKYIhOoIMxaS5hOBRe7npKO+L6TJuJdNfMSJcpR9ayJsLEzPmp933whObTm/OzNnOW X-Received: by 10.152.182.226 with SMTP id eh2mr12023573lac.0.1438001386281; Mon, 27 Jul 2015 05:49:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.70 with SMTP id x6ls654925laa.5.gmail; Mon, 27 Jul 2015 05:49:46 -0700 (PDT) X-Received: by 10.112.124.33 with SMTP id mf1mr27098038lbb.66.1438001386136; Mon, 27 Jul 2015 05:49:46 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id ez3si15158758lbc.86.2015.07.27.05.49.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 05:49:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lagw2 with SMTP id w2so48244234lag.3 for ; Mon, 27 Jul 2015 05:49:46 -0700 (PDT) X-Received: by 10.152.203.134 with SMTP id kq6mr26874251lac.106.1438001386003; Mon, 27 Jul 2015 05:49:46 -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.7.198 with SMTP id l6csp1512354lba; Mon, 27 Jul 2015 05:49:45 -0700 (PDT) X-Received: by 10.140.217.84 with SMTP id n81mr42414679qhb.100.1438001384680; Mon, 27 Jul 2015 05:49:44 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h82si20674237qhc.103.2015.07.27.05.49.43; Mon, 27 Jul 2015 05:49:44 -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 C439C61818; Mon, 27 Jul 2015 12:49:43 +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 603D861C96; Mon, 27 Jul 2015 12:45:39 +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 5956961D67; Mon, 27 Jul 2015 12:45:34 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by lists.linaro.org (Postfix) with ESMTPS id 9400361C96 for ; Mon, 27 Jul 2015 12:44:18 +0000 (UTC) Received: by lbbzr7 with SMTP id zr7so52539234lbb.1 for ; Mon, 27 Jul 2015 05:44:17 -0700 (PDT) X-Received: by 10.152.19.8 with SMTP id a8mr26802636lae.121.1438001057607; Mon, 27 Jul 2015 05:44:17 -0700 (PDT) Received: from erachmi-VirtualBox.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id ci2sm3877195lad.23.2015.07.27.05.44.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jul 2015 05:44:17 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org Date: Mon, 27 Jul 2015 14:43:52 +0200 Message-Id: <1438001035-21900-11-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438001035-21900-1-git-send-email-christophe.milard@linaro.org> References: <1438001035-21900-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 10/13] validation: synchronizers: using _CU_TEST_INFO() 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.48 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 Signed-off-by: Christophe Milard --- test/validation/synchronizers/synchronizers.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/validation/synchronizers/synchronizers.c b/test/validation/synchronizers/synchronizers.c index ed56c8f..cd7cc8e 100644 --- a/test/validation/synchronizers/synchronizers.c +++ b/test/validation/synchronizers/synchronizers.c @@ -941,8 +941,8 @@ static void synchronizers_test_barrier_functional(void) } static CU_TestInfo synchronizers_suite_barrier[] = { - {"no_barrier_functional", synchronizers_test_no_barrier_functional}, - {"barrier_functional", synchronizers_test_barrier_functional}, + _CU_TEST_INFO(synchronizers_test_no_barrier_functional), + _CU_TEST_INFO(synchronizers_test_barrier_functional), CU_TEST_INFO_NULL }; @@ -957,7 +957,7 @@ static void synchronizers_test_no_lock_functional(void) } static CU_TestInfo synchronizers_suite_no_locking[] = { - {"no_lock_functional", synchronizers_test_no_lock_functional}, + _CU_TEST_INFO(synchronizers_test_no_lock_functional), CU_TEST_INFO_NULL }; @@ -982,8 +982,8 @@ static void synchronizers_test_spinlock_functional(void) } static CU_TestInfo synchronizers_suite_spinlock[] = { - {"spinlock_api", synchronizers_test_spinlock_api}, - {"spinlock_functional", synchronizers_test_spinlock_functional}, + _CU_TEST_INFO(synchronizers_test_spinlock_api), + _CU_TEST_INFO(synchronizers_test_spinlock_functional), CU_TEST_INFO_NULL }; @@ -1009,8 +1009,8 @@ static void synchronizers_test_ticketlock_functional(void) } static CU_TestInfo synchronizers_suite_ticketlock[] = { - {"ticketlock_api", synchronizers_test_ticketlock_api}, - {"ticketlock_functional", synchronizers_test_ticketlock_functional}, + _CU_TEST_INFO(synchronizers_test_ticketlock_api), + _CU_TEST_INFO(synchronizers_test_ticketlock_functional), CU_TEST_INFO_NULL }; @@ -1035,8 +1035,8 @@ static void synchronizers_test_rwlock_functional(void) } static CU_TestInfo synchronizers_suite_rwlock[] = { - {"rwlock_api", synchronizers_test_rwlock_api}, - {"rwlock_functional", synchronizers_test_rwlock_functional}, + _CU_TEST_INFO(synchronizers_test_rwlock_api), + _CU_TEST_INFO(synchronizers_test_rwlock_functional), CU_TEST_INFO_NULL }; @@ -1185,10 +1185,10 @@ static void synchronizers_test_atomic_fetch_add_sub(void) } static CU_TestInfo synchronizers_suite_atomic[] = { - {"atomic_inc_dec", synchronizers_test_atomic_inc_dec}, - {"atomic_add_sub", synchronizers_test_atomic_add_sub}, - {"atomic_fetch_inc_dec", synchronizers_test_atomic_fetch_inc_dec}, - {"atomic_fetch_add_sub", synchronizers_test_atomic_fetch_add_sub}, + _CU_TEST_INFO(synchronizers_test_atomic_inc_dec), + _CU_TEST_INFO(synchronizers_test_atomic_add_sub), + _CU_TEST_INFO(synchronizers_test_atomic_fetch_inc_dec), + _CU_TEST_INFO(synchronizers_test_atomic_fetch_add_sub), CU_TEST_INFO_NULL, };