From patchwork Fri Apr 21 13:11:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 97899 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp320046qgf; Fri, 21 Apr 2017 06:13:53 -0700 (PDT) X-Received: by 10.200.55.15 with SMTP id o15mr12908115qtb.279.1492780432945; Fri, 21 Apr 2017 06:13:52 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 30si9011758qtw.234.2017.04.21.06.13.52; Fri, 21 Apr 2017 06:13:52 -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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9A21462BE0; Fri, 21 Apr 2017 13:13:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3128562BF3; Fri, 21 Apr 2017 13:12:12 +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 3320362B63; Fri, 21 Apr 2017 13:12:00 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0093.outbound.protection.outlook.com [104.47.0.93]) by lists.linaro.org (Postfix) with ESMTPS id 18FE961A49 for ; Fri, 21 Apr 2017 13:11:54 +0000 (UTC) Received: from VI1PR07CA0031.eurprd07.prod.outlook.com (2a01:111:e400:533d::41) by AM4PR0701MB2113.eurprd07.prod.outlook.com (2603:10a6:200:49::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.6; Fri, 21 Apr 2017 13:11:52 +0000 Received: from DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by VI1PR07CA0031.outlook.office365.com (2a01:111:e400:533d::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.6 via Frontend Transport; Fri, 21 Apr 2017 13:11:52 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by DB5EUR03FT025.mail.protection.outlook.com (10.152.20.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Fri, 21 Apr 2017 13:11:51 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v3LDBYSS025462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 21 Apr 2017 16:11:34 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v3LDBYOg025438 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Fri, 21 Apr 2017 16:11:34 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Fri, 21 Apr 2017 16:11:30 +0300 Message-ID: <20170421131134.27992-5-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170421131134.27992-1-petri.savolainen@linaro.org> References: <20170421131134.27992-1-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39840400002)(39860400002)(39850400002)(39450400003)(39410400002)(2980300002)(189002)(199003)(9170700003)(36756003)(53936002)(48376002)(6916009)(8676002)(8936002)(2950100002)(50226002)(50466002)(356003)(6666003)(81166006)(110136004)(305945005)(2351001)(106466001)(22756006)(105596002)(77096006)(2906002)(86362001)(38730400002)(33646002)(5003940100001)(1076002)(76176999)(5660300001)(189998001)(47776003)(50986999)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0701MB2113; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT025; 1:DvMoNMKNwGm0g3NDnOil6UTsqeme2yHqPKVoXBbG0AAlTnwDWmUFSMsFzl4KDEckGZBQQshmjxpTaE9WTVwnTwwjg3WlAwDDT1H//s055Nc/dqDMnWAWfNVYpJwKrGw7lT8iBRrr75G0p1mg2TeHmtiF7HD2OwW8u2QlESzz3Z+BqnHAYs0GTzobkmSbLgxEyujYxtxopAjaGfqafcZrrWSCKH6zcKPS+QNpcgsSpOuCz5olEgFf9s0fQ4qzFINQMpVbqv1c9jUPfvzwTvb5LA6pocoEYudWvuSMKguikLmKOKEnq0o9uIM5UB8PQT2Ku6UIInAJIbgaWn4lF+0KlG0yhs/CuLXQla8omEDOLAslYMZj/WWo5owxSY9oO80XZpRm+dRsiW6RmKIlfUArGktnoYem9bEjQaeGDMRs+kMKPLzvuwiNqX6EccLH8NEk9bDcvPGs/q2+E6fwlEOrV5VHbyDLwhwnl47SBXe5LpsvhTic3eVPHAGWjzP32rZH8BxhqZOnq5maAJdxz8BkJQ== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 23393ae4-a32b-4fee-359c-08d488b7f9ed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM4PR0701MB2113; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2113; 3:YKpejJkWbqJrgzFBQOAExP/OU5xUHOwIIddVtXzWOYIdQIICOwA24eRa1wsgq9BJud6Q/BmVN3kgoVmuWNQabOg45oDXaTyKE1j0jh19WUWro1D4zRyRM2/ielNwsVatGUmAos4FWHzD7hLSB9EGYqyOTUICoDfzwQdMFVxgt6lS2kSmM4fAkqqQNILUYCaH1W7rF2O9mmpuM9lW6jXCCFZj9KILA3Vs3FuUXNtinlf/3ESJBvjYhQckFcXmbsKkPpWTvDFXDgHW8fKCQ9bpyjpu467tyqwlGWK7AVB/Y3foUDUrn0F7gSmnwo3v6Sip/g6FzYIOdMhyD/Jq/mDGZ9lJZF/i7PobwHY6NqWJ6X/mHgZ7SD24jFcIDthKIyfOmQoVY5P9U7uAgXvaZliRASZ7ol9PqsDSH/fm2adh7Oqumh5+zz4KkIg3eZ6SKfs2p/dH0EsFAJXQtXAY+FPeiA== X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2113; 25:/hLy4U82WMd7MSxHBKtE5Jz7TA/Mdj1yR5oYG/twhXcEiZCcndqGSZCmJ8h+mEL9XzMgeUeKrt2k3QqsWZTqS885IHK0WXr9U2NYZH+uKm3ptc6s5S6FB+En3+gx3OCkgpe8O0SEwQP/WLmw5Cttr0kjIsvC6eoS3Hizz8SEEfU1vwNUzYq6P071TPYtyukHNeF2fjbwPerQT7c7CxQVvrND0Kq/VD1rNLeOZUl3rJMJIBEO3/f2k3e2jk/4BEVRHHqE5jyTrTOXSHPMI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TTrATgBZlpb4N7rQ/MWwO1Stk6RqfxkyJSB1aohRl2J35eJi4OntVmGY3A2vemmJSMmC6Es= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(13013025)(13021025)(13023025)(3002001)(93006095)(93003095)(10201501046)(6055026)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123562025)(20161123555025)(6072148); SRVR:AM4PR0701MB2113; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0701MB2113; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2113; 4:4FK/SveNJTifMCXxcO4fTYs33aoJB49d9WQJeS8x2wYPTQa+56pY2pz5opyNz89UyOXfuteEete08CzBwHaY4tY8ak+S6UqcDA8/ytf6yOliAxXZ+SIpGFL2L3/0srYWdjCtWaymOEIPyNFvxv62sZkgTCVv+raplWvlOVo08LuJapUEFlL8gPV5dOB/TUkrVxAkdeSG4moeJzDrqEZmfuEcYmkVzDfn93Ev9U8N0r3XliuKGhgvj7eZ+y+Y1KN94ENUbbjO8FxM26oImTDktxwoZculBPDa6FE3oFBiXTplkT2rzOSo78ht7ZcM6gSxQWaUfwUO+I82ipurQDudu0oXrczKec/97R41oT4kiZeiOxSQbgubTCAL9ovqRV6BV3LW4jGbp160KK2j7i37Har1S2qJGZt7sQvAxzMq0tX+9Nij1sA8qOtXCcjUIGDXUJ8pFJzcLx0LLoIiPKtz9zpci/zRPfYzHw4djiVKHsaHFXy8vyQvOF3ZgjIrUv31ZyfqQ5soJf7pLkSha0VBSVf7j0DsUUO/ItRY8NEm2d00Z7UzB1Tv4RTAkdtIKfdzlCcc9c4JiyjzcTzqLUttD+cKYDXg5oyV4pAedciqpCwA0aad0dYzubcbyvzbYBA+i5l8PoJHFllhwG2EnQFQoeJ46ZEFYBEMuvYMiqhu2xaaSsNSyrBGm7W5mNBG4U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iagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0701MB2113; 7:/IAa0XichakKbrWktDyfEFGEeo4jvU7crk4o4lcRXYFFcSUDcHsJX76DgCHr93C4fcKCEUQxEHUOMbNpreBVUu4DiL2+T1oW5FNqkwQXWb95mGREyUa/PGHnjXgx5ZMpyPuLEPcNG1aTa5dHczEkVDiuu1nlww53KtcxRXckdCHJ6QpsGtQWbUl7COj37gXU36rYvRvB7gaRgdENrr8MZu/IeFqZm345nIgCbBiNcn8q+Nms+MrTPkcYFxp1oe0Ee7Qnwr83sPcw0whKFQPtUDk58SOyj/s6oMa9/NY+6EyoMsWnDe/IWjFrZKlwjWhZPyHMaUZStZaOlTAwnlIM2w== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2017 13:11:51.7672 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0701MB2113 Subject: [lng-odp] [API-NEXT PATCH 4/8] test: validation: add odp_sys_info_print test X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Added validation test for the new system info print call. Signed-off-by: Petri Savolainen --- test/common_plat/validation/api/system/system.c | 8 ++++++++ test/common_plat/validation/api/system/system.h | 1 + 2 files changed, 9 insertions(+) -- 2.11.0 diff --git a/test/common_plat/validation/api/system/system.c b/test/common_plat/validation/api/system/system.c index 57ff34eb..5b7ca01a 100644 --- a/test/common_plat/validation/api/system/system.c +++ b/test/common_plat/validation/api/system/system.c @@ -301,6 +301,13 @@ void system_test_odp_cpu_hz_max_id(void) } } +void system_test_info_print(void) +{ + printf("\n\nCalling system info print...\n"); + odp_sys_info_print(); + printf("...done. "); +} + odp_testinfo_t system_suite[] = { ODP_TEST_INFO(system_test_odp_version_numbers), ODP_TEST_INFO(system_test_odp_cpu_count), @@ -319,6 +326,7 @@ odp_testinfo_t system_suite[] = { ODP_TEST_INFO(system_test_odp_cpu_cycles_max), ODP_TEST_INFO(system_test_odp_cpu_cycles_resolution), ODP_TEST_INFO(system_test_odp_cpu_cycles_diff), + ODP_TEST_INFO(system_test_info_print), ODP_TEST_INFO_NULL, }; diff --git a/test/common_plat/validation/api/system/system.h b/test/common_plat/validation/api/system/system.h index cbb994eb..c33729b9 100644 --- a/test/common_plat/validation/api/system/system.h +++ b/test/common_plat/validation/api/system/system.h @@ -30,6 +30,7 @@ void system_test_odp_cpu_cycles_max(void); void system_test_odp_cpu_cycles(void); void system_test_odp_cpu_cycles_diff(void); void system_test_odp_cpu_cycles_resolution(void); +void system_test_info_print(void); /* test arrays: */ extern odp_testinfo_t system_suite[];