From patchwork Thu Apr 2 17:21:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 46729 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D17F215A9 for ; Thu, 2 Apr 2015 17:21:25 +0000 (UTC) Received: by wgfh4 with SMTP id h4sf18853452wgf.1 for ; Thu, 02 Apr 2015 10:21:24 -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: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=KyLqCXwl+fB1wkjVD4vr2EIDfUhp51LBnlVFXfYIQgc=; b=B0lq9P46Q1AAaFZnxvwdwka6OJwNHdMzzlU03D1cI3QTWtucvWxod3AucKi1LqruYj Yky2GtCtUey48IqDtRLEbuvSE1uRfD5Sbr7f/hCErKNCR6KZ/c92sFIK5z2Fs8QlTMqT jiO1rR2Qoi6f23ytxDx7gP642iF2oi9k8IrDTnCeExkTE933Fby5tK9y9kPi7QoRV0Do iJtWbxluZMu+fxjSg5Ukemhkz5GHluwgi3ciudnBbe3mINsGGx0WvS/X1qBzP59rRpN4 wQHYqev4qVuz/Y8ceqUkEBf7/MDApj5rLb+QknjNQOJCTFFiYhtLB6K/Nw9JQmDmCXqT K6Og== X-Gm-Message-State: ALoCoQkkiP4tg/H4oyCH/HZVqCMNwEvVYuxGCilSn6CdNlwjbjlFzanivaOXSI5ceqfiYNNMqCCt X-Received: by 10.152.184.73 with SMTP id es9mr1498645lac.4.1427995284287; Thu, 02 Apr 2015 10:21:24 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.67 with SMTP id l3ls239032lae.93.gmail; Thu, 02 Apr 2015 10:21:24 -0700 (PDT) X-Received: by 10.112.54.165 with SMTP id k5mr42124486lbp.57.1427995284143; Thu, 02 Apr 2015 10:21:24 -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 l1si4726033laa.111.2015.04.02.10.21.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2015 10:21:24 -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 lahf3 with SMTP id f3so64349864lah.2 for ; Thu, 02 Apr 2015 10:21:24 -0700 (PDT) X-Received: by 10.152.4.104 with SMTP id j8mr21809040laj.72.1427995284044; Thu, 02 Apr 2015 10:21:24 -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.57.201 with SMTP id k9csp1479744lbq; Thu, 2 Apr 2015 10:21:23 -0700 (PDT) X-Received: by 10.55.53.137 with SMTP id c131mr38166876qka.102.1427995282657; Thu, 02 Apr 2015 10:21:22 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 21si5627235qhf.50.2015.04.02.10.21.21; Thu, 02 Apr 2015 10:21:22 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id D593F650BB; Thu, 2 Apr 2015 17:21:21 +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=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=unavailable autolearn_force=no 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 EED5E650B0; Thu, 2 Apr 2015 17:21:18 +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 3E43A650B2; Thu, 2 Apr 2015 17:21:17 +0000 (UTC) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by lists.linaro.org (Postfix) with ESMTPS id BD89E650B0 for ; Thu, 2 Apr 2015 17:21:16 +0000 (UTC) Received: by wgbdm7 with SMTP id dm7so92060427wgb.1 for ; Thu, 02 Apr 2015 10:21:16 -0700 (PDT) X-Received: by 10.180.85.130 with SMTP id h2mr26917539wiz.3.1427995276007; Thu, 02 Apr 2015 10:21:16 -0700 (PDT) Received: from e106441.cambridge.arm.com ([2001:41d0:a:3cb4::1]) by mx.google.com with ESMTPSA id hi6sm8095316wjc.34.2015.04.02.10.21.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Apr 2015 10:21:15 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Thu, 2 Apr 2015 18:21:07 +0100 Message-Id: <1427995268-20530-1-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 X-Topics: patch Subject: [lng-odp] [PATCHv2 1/2] validation: common: print odp_init failures to stderr 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: stuart.haslam@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 Signed-off-by: Stuart Haslam --- test/validation/common/odp_cunit_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index 83e5026..7359ce3 100644 --- a/test/validation/common/odp_cunit_common.c +++ b/test/validation/common/odp_cunit_common.c @@ -57,11 +57,11 @@ int main(void) printf("\tODP implementation version: %s\n", odp_version_impl_str()); if (0 != odp_init_global(NULL, NULL)) { - printf("odp_init_global fail.\n"); + fprintf(stderr, "error: odp_init_global() failed.\n"); return -1; } if (0 != odp_init_local()) { - printf("odp_init_local fail.\n"); + fprintf(stderr, "error: odp_init_local() failed.\n"); return -1; }