From patchwork Thu Jul 23 15:44:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 51400 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 48EE920323 for ; Thu, 23 Jul 2015 15:45:27 +0000 (UTC) Received: by wicmm11 with SMTP id mm11sf27889672wic.3 for ; Thu, 23 Jul 2015 08:45:26 -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=SMlYfi1vOWK1AZhawuViAtB4XW/4wTSpUXb9eqT5xew=; b=UecS7aTjNt8ZMCYidg049nEr1C+NOiA22xZw1083CZ3IAu8QI7Z4FiVz1hs78TAtYl eRFmy9kTeYaAYCTTVTFKSb/FTmBXBi4OHwXtdJ5Q2IOiYNGZUzSwcDoOcZeyQ4QzUO9C tMfPjPHPxG9x+FWWEAqpnI/1QCAUhZglBf6t63VakVmyhIEcSrtiH+fe7v1lgB9hCCwp u5OJDDvGyxkj8dCkjVS3/EcVUUuf4OmwJ38ejh3eM0Nsc3EmIx1uOw4qCKcExpnKcwUE qdZACtVyTBxTRiRs7fvjx1VzBzw2tELrQw7HFdWnfL7z6MKUTMFG0otQ0FPxJIO9SyJx jpLA== X-Gm-Message-State: ALoCoQmbyIeoTVCmLu/ChbQ8EJy8le1ZamWKtAfqK12jzsMXoPT7NjZ6A0Fnteyzk8XvUcnf+QZY X-Received: by 10.112.253.135 with SMTP id aa7mr4006919lbd.11.1437666326486; Thu, 23 Jul 2015 08:45:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.201 with SMTP id t9ls251179laa.95.gmail; Thu, 23 Jul 2015 08:45:26 -0700 (PDT) X-Received: by 10.152.179.131 with SMTP id dg3mr8570128lac.22.1437666326207; Thu, 23 Jul 2015 08:45:26 -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 pt2si4649639lbb.46.2015.07.23.08.45.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 08:45:26 -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 lblf12 with SMTP id f12so160380403lbl.2 for ; Thu, 23 Jul 2015 08:45:26 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr8707135laj.88.1437666326061; Thu, 23 Jul 2015 08:45:26 -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 l6csp627740lba; Thu, 23 Jul 2015 08:45:25 -0700 (PDT) X-Received: by 10.140.147.129 with SMTP id 123mr13616973qht.79.1437666324507; Thu, 23 Jul 2015 08:45:24 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p32si6285119qga.128.2015.07.23.08.45.23; Thu, 23 Jul 2015 08:45:24 -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 BFB7361E4E; Thu, 23 Jul 2015 15:45:23 +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 3AD2261842; Thu, 23 Jul 2015 15:45:20 +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 A968B61E2E; Thu, 23 Jul 2015 15:45:12 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by lists.linaro.org (Postfix) with ESMTPS id ED01E61E2E for ; Thu, 23 Jul 2015 15:44:54 +0000 (UTC) Received: by lbbyj8 with SMTP id yj8so160613267lbb.0 for ; Thu, 23 Jul 2015 08:44:54 -0700 (PDT) X-Received: by 10.152.37.102 with SMTP id x6mr8656795laj.69.1437666293948; Thu, 23 Jul 2015 08:44:53 -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 z12sm1100482lbp.46.2015.07.23.08.44.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jul 2015 08:44:53 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org Date: Thu, 23 Jul 2015 17:44:35 +0200 Message-Id: <1437666275-24455-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437666275-24455-1-git-send-email-christophe.milard@linaro.org> References: <1437666275-24455-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [RFC-PATCH 3/3] validation: errno: populate lib 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.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/errno/errno.c | 2 +- test/validation/errno/errno.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c index 65da40f..9b6b125 100644 --- a/test/validation/errno/errno.c +++ b/test/validation/errno/errno.c @@ -8,7 +8,7 @@ #include "odp_cunit_common.h" #include "errno.h" -static void errno_test_odp_errno_sunny_day(void) +void errno_test_odp_errno_sunny_day(void) { int my_errno; diff --git a/test/validation/errno/errno.h b/test/validation/errno/errno.h index 5923768..88c9704 100644 --- a/test/validation/errno/errno.h +++ b/test/validation/errno/errno.h @@ -7,6 +7,18 @@ #ifndef _ODP_TEST_ERRNO_H_ #define _ODP_TEST_ERRNO_H_ +#include + +/* test functions: */ +void errno_test_odp_errno_sunny_day(void); + +/* test arrays: */ +extern CU_TestInfo errno_suite[]; + +/* test registery: */ +extern CU_SuiteInfo errno_suites[]; + +/* main test program: */ int errno_main(void); #endif