From patchwork Mon Nov 17 17:57:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 40972 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 07A4D21F5F for ; Mon, 17 Nov 2014 17:57:59 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf11948637lbj.11 for ; Mon, 17 Nov 2014 09:57:57 -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:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=dX9Ir1Ofj3O5CRHm6UqieJ3pxXwhtG9/dGDheozKZ+8=; b=HjTBHjEYD/SEUoNDnlG5OriO9/lpGj4Pns6pLugnq0hScg5DZvK4fdR1ot1t2M/hzc 0Zs8JGi9XqcksHMQYhcKLq85zitJiarbPFYS4SkE8oiYvGHcHSZGB2cNui7NsWELXS9j HMJ/uvi9W54dzIb2rWTPDVxTfLe1Ap8fHxAAoLWx4FuxhSUJ06IlxGjQz/196wxOx8TS 3aJG5q8mTj2oCj5jgezapFoTzcEhQJiW3KzUYxfOV5a2oMjHdLUE/zGsuJQZUZg3HKpn XRqW66eMGZNeKHUWYWi0AKRQ4wXR6UR0zrg9bLoUXJ9mbhy7v4mBhdxnwfmX+wOgYa9Y auPw== X-Gm-Message-State: ALoCoQkfvD+yRMrcqqpridQmEBrB5B0SVl3QoWLtuDEzAjoIKAYt6ua/sBuPJX7ggBkX2QZa5CF2 X-Received: by 10.152.88.98 with SMTP id bf2mr14247913lab.1.1416247077884; Mon, 17 Nov 2014 09:57:57 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.84 with SMTP id u20ls861221lal.21.gmail; Mon, 17 Nov 2014 09:57:57 -0800 (PST) X-Received: by 10.112.138.137 with SMTP id qq9mr12186946lbb.80.1416247077739; Mon, 17 Nov 2014 09:57:57 -0800 (PST) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id bn10si52719740lbc.108.2014.11.17.09.57.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 09:57:57 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id u10so8951530lbd.3 for ; Mon, 17 Nov 2014 09:57:57 -0800 (PST) X-Received: by 10.152.42.226 with SMTP id r2mr29425270lal.29.1416247077620; Mon, 17 Nov 2014 09:57:57 -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.184.201 with SMTP id ew9csp1198946lbc; Mon, 17 Nov 2014 09:57:56 -0800 (PST) X-Received: by 10.170.139.86 with SMTP id g83mr4318568ykc.96.1416247076405; Mon, 17 Nov 2014 09:57:56 -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 q110si59020064qgd.122.2014.11.17.09.57.51 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 17 Nov 2014 09:57:56 -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 1XqQYg-0002HS-G3; Mon, 17 Nov 2014 17:57:50 +0000 Received: from mail-qc0-f169.google.com ([209.85.216.169]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XqQYV-0002H0-IX for lng-odp@lists.linaro.org; Mon, 17 Nov 2014 17:57:39 +0000 Received: by mail-qc0-f169.google.com with SMTP id w7so3134775qcr.28 for ; Mon, 17 Nov 2014 09:57:34 -0800 (PST) X-Received: by 10.140.23.112 with SMTP id 103mr35595287qgo.73.1416247054385; Mon, 17 Nov 2014 09:57:34 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id w75sm3088331qgd.14.2014.11.17.09.57.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Nov 2014 09:57:33 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 17 Nov 2014 12:57:17 -0500 Message-Id: <1416247037-13357-2-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1416247037-13357-1-git-send-email-mike.holmes@linaro.org> References: <1416247037-13357-1-git-send-email-mike.holmes@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/2] test: Display implementation version 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: mike.holmes@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.172 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 Update the tests to indicate the implementation version string during execution Signed-off-by: Mike Holmes --- test/cunit/odp_init.c | 1 + test/cunit/odp_queue.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/test/cunit/odp_init.c b/test/cunit/odp_init.c index 88e6235..0727227 100644 --- a/test/cunit/odp_init.c +++ b/test/cunit/odp_init.c @@ -23,6 +23,7 @@ static void test_odp_init_global(void) static int init(void) { printf("\tODP version: %s\n", odp_version_api_str()); + printf("\tODP implementation: %s\n", odp_version_impl_str()); return 0; } diff --git a/test/cunit/odp_queue.c b/test/cunit/odp_queue.c index 4d233e0..b1b8d81 100644 --- a/test/cunit/odp_queue.c +++ b/test/cunit/odp_queue.c @@ -107,6 +107,10 @@ static void test_odp_queue_sunnyday(void) static int init(void) { + + printf("\tODP version: %s\n", odp_version_api_str()); + printf("\tODP implementation: %s\n", odp_version_impl_str()); + if (0 != odp_init_global(NULL, NULL)) { printf("odp_init_global fail.\n"); return -1;