From patchwork Tue Feb 24 11:57:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 44934 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F49A2029F for ; Tue, 24 Feb 2015 11:58:22 +0000 (UTC) Received: by wggy19 with SMTP id y19sf3554520wgg.1 for ; Tue, 24 Feb 2015 03:58:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state: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=JlEi3NVMn+8EGDlJe4Mzb/1Z81x2bPi2EO0ZZcQZ2oY=; b=jMbQQnMfvDZOgR4tpuf9SehN4k+Jv3MItfOQYSYbzLzIxniXrV03yDbfaQNFTO1bt8 J3kpMhKIu+kvy1ceTuOdDtrPYET3eZ0+Hq1DF1olpDDZzPsF7xS+qbJiyV81Y4K88/8O SSaauo/xRe440Y8pXJ6YJWcSlcxwQrh1ZztVvv0t2hSZm3pshpMaRcRpKMJAXXrusbzh nIApjqQmxXd+aAZFuOrFyvTrVOBHh+5yYRALSBp+e6XzwWclD8lKjTNvwVySU68Q1Xp+ AJwYmYVyUMn54d7VWVgTQAeSFmV7KJWgmmrqh9fZYZqYXI4X/7csjGNIcmmgsZVAHHY+ v8Qg== X-Gm-Message-State: ALoCoQkBtRvU2ZwRr4A2Cr0+d/lfYOI/NpZ8p2MUE78uIRQ3DcOKal0yPPF/1RHuNZ1p6+co1lI2 X-Received: by 10.152.28.137 with SMTP id b9mr2075230lah.8.1424779101384; Tue, 24 Feb 2015 03:58:21 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.208 with SMTP id l16ls602346laa.66.gmail; Tue, 24 Feb 2015 03:58:21 -0800 (PST) X-Received: by 10.112.169.39 with SMTP id ab7mr13716733lbc.85.1424779101171; Tue, 24 Feb 2015 03:58:21 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id zq10si1112537lbb.106.2015.02.24.03.58.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 03:58:21 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbdu14 with SMTP id u14so24268175lbd.1 for ; Tue, 24 Feb 2015 03:58:21 -0800 (PST) X-Received: by 10.152.8.33 with SMTP id o1mr14458972laa.56.1424779100977; Tue, 24 Feb 2015 03:58:20 -0800 (PST) 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.35.133 with SMTP id h5csp1860399lbj; Tue, 24 Feb 2015 03:58:20 -0800 (PST) X-Received: by 10.140.19.14 with SMTP id 14mr34696731qgg.37.1424779099828; Tue, 24 Feb 2015 03:58:19 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id t5si39006905qag.98.2015.02.24.03.58.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Feb 2015 03:58:19 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQE7z-0006Bi-PV; Tue, 24 Feb 2015 11:58:15 +0000 Received: from mail-we0-f171.google.com ([74.125.82.171]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQE7v-00069Y-3a for lng-odp@lists.linaro.org; Tue, 24 Feb 2015 11:58:11 +0000 Received: by wesw55 with SMTP id w55so24728232wes.4 for ; Tue, 24 Feb 2015 03:58:05 -0800 (PST) X-Received: by 10.194.156.133 with SMTP id we5mr32602419wjb.37.1424779085678; Tue, 24 Feb 2015 03:58:05 -0800 (PST) Received: from e106441.cambridge.arm.com ([2001:41d0:a:3cb4::1]) by mx.google.com with ESMTPSA id u18sm59911569wjq.42.2015.02.24.03.58.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Feb 2015 03:58:04 -0800 (PST) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Tue, 24 Feb 2015 11:57:50 +0000 Message-Id: <1424779071-22631-1-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] validation: common: print odp_init failures to stderr X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org 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.217.180 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 Reviewed-by: Bill Fischofer --- 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 8fdc1ea..b8d3313 100644 --- a/test/validation/common/odp_cunit_common.c +++ b/test/validation/common/odp_cunit_common.c @@ -52,11 +52,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; }