From patchwork Thu Aug 20 10:05:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 52579 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id BC16622E4F for ; Thu, 20 Aug 2015 10:11:17 +0000 (UTC) Received: by wicja10 with SMTP id ja10sf10863614wic.2 for ; Thu, 20 Aug 2015 03:11:17 -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=KLJtbwPct3AIXADihsIfgtkxNwxviWQWq6hE2BRDEGE=; b=e7ZrtFlCtpooxFvsoQkcC4/dqvKSQgRvUA2C0F5NPHI4z0z+uFAyB3mB1Qwmzn4nQr x9AuD3LClZfUvTPouzVmWljJviAo5KFvm4t/TCYlfBRuIx5zJlhJMnkuPmQos2yunw74 DiuuD7oE2022LA+N6JkYichbWXEzkV1hAnp6mrmN5CahiBiMbqNKyiePi+iH6QHgIlwm OzxeMgmUBcNeO4w+8eaDKG3rjS3IvxMaTxXAgV/wsRtPjjeZXnsovzp7y05bxT4LGcnZ n5fwSoxmorGXbkxJBY6eRtoZ5Z9kN7+Ca60qtb/mo1egfuimYkU94Nmlv+foUF5VDGZM 9ZMA== X-Gm-Message-State: ALoCoQlq/p96tWUVZX586njUUeB9c1USExTqr6cMTtXY9kjNz/VeWc0u3PcsOxT+0VsJMi1o2UDs X-Received: by 10.152.3.72 with SMTP id a8mr646423laa.9.1440065477087; Thu, 20 Aug 2015 03:11:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.227 with SMTP id n3ls155117lan.0.gmail; Thu, 20 Aug 2015 03:11:16 -0700 (PDT) X-Received: by 10.112.144.69 with SMTP id sk5mr2242947lbb.6.1440065476906; Thu, 20 Aug 2015 03:11:16 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id bo7si3280359lbb.108.2015.08.20.03.11.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 03:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbcbn3 with SMTP id bn3so20501189lbc.2 for ; Thu, 20 Aug 2015 03:11:16 -0700 (PDT) X-Received: by 10.152.29.132 with SMTP id k4mr2206569lah.88.1440065476807; Thu, 20 Aug 2015 03:11:16 -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.162.200 with SMTP id yc8csp925408lbb; Thu, 20 Aug 2015 03:11:15 -0700 (PDT) X-Received: by 10.107.10.135 with SMTP id 7mr1752464iok.196.1440065474907; Thu, 20 Aug 2015 03:11:14 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r23si2779965ioi.24.2015.08.20.03.11.14; Thu, 20 Aug 2015 03:11:14 -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 C1333620E6; Thu, 20 Aug 2015 10:11:13 +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 C9F8A61F6E; Thu, 20 Aug 2015 10:08:19 +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 D9DE8620DC; Thu, 20 Aug 2015 10:08:10 +0000 (UTC) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by lists.linaro.org (Postfix) with ESMTPS id 4603B6209F for ; Thu, 20 Aug 2015 10:06:34 +0000 (UTC) Received: by laba3 with SMTP id a3so19437191lab.1 for ; Thu, 20 Aug 2015 03:06:33 -0700 (PDT) X-Received: by 10.152.43.77 with SMTP id u13mr2158474lal.96.1440065193202; Thu, 20 Aug 2015 03:06:33 -0700 (PDT) Received: from mobile-VirtualBox.localdomain (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id un4sm1069852lbb.7.2015.08.20.03.06.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Aug 2015 03:06:32 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org Date: Thu, 20 Aug 2015 12:05:58 +0200 Message-Id: <1440065161-18967-11-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440065161-18967-1-git-send-email-christophe.milard@linaro.org> References: <1440065161-18967-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCHv2 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.217.179 as permitted sender) smtp.mailfrom=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 Reviewed-by: Stuart Haslam --- 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 7c521ca..0a31a40 100644 --- a/test/validation/synchronizers/synchronizers.c +++ b/test/validation/synchronizers/synchronizers.c @@ -941,8 +941,8 @@ void synchronizers_test_barrier_functional(void) } 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 @@ void synchronizers_test_no_lock_functional(void) } 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 @@ void synchronizers_test_spinlock_functional(void) } 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 @@ void synchronizers_test_ticketlock_functional(void) } 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 @@ void synchronizers_test_rwlock_functional(void) } 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 }; @@ -1187,10 +1187,10 @@ void synchronizers_test_atomic_fetch_add_sub(void) } 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, };