From patchwork Mon Apr 24 10:49:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 98031 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1421240qgf; Mon, 24 Apr 2017 03:51:13 -0700 (PDT) X-Received: by 10.36.228.12 with SMTP id o12mr12801081ith.83.1493031072964; Mon, 24 Apr 2017 03:51:12 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s128si19820465iod.129.2017.04.24.03.51.12; Mon, 24 Apr 2017 03:51:12 -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 6B86860C03; Mon, 24 Apr 2017 10:51:12 +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=-4.7 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 D117D608C6; Mon, 24 Apr 2017 10:51:04 +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 BB30A606E1; Mon, 24 Apr 2017 10:50:36 +0000 (UTC) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10098.outbound.protection.outlook.com [40.107.1.98]) by lists.linaro.org (Postfix) with ESMTPS id 06E9060BFD for ; Mon, 24 Apr 2017 10:50:01 +0000 (UTC) Received: from DB6PR07CA0064.eurprd07.prod.outlook.com (10.175.237.154) by DB6PR0701MB2117.eurprd07.prod.outlook.com (10.168.58.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.6; Mon, 24 Apr 2017 10:50:00 +0000 Received: from AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by DB6PR07CA0064.outlook.office365.com (2603:10a6:6:2a::26) 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; Mon, 24 Apr 2017 10:50:00 +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 AM5EUR03FT060.mail.protection.outlook.com (10.152.16.160) 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; Mon, 24 Apr 2017 10:49:59 +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 v3OAnHqx005811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 24 Apr 2017 13:49:17 +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 v3OAnHYS005796 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Mon, 24 Apr 2017 13:49:17 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Mon, 24 Apr 2017 13:49:13 +0300 Message-ID: <20170424104917.24102-5-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170424104917.24102-1-petri.savolainen@linaro.org> References: <20170424104917.24102-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)(39410400002)(39840400002)(39850400002)(39450400003)(39400400002)(39860400002)(2980300002)(189002)(199003)(9170700003)(106466001)(8676002)(105596002)(8936002)(81166006)(48376002)(189998001)(5003940100001)(2351001)(356003)(33646002)(36756003)(76176999)(50986999)(47776003)(1076002)(110136004)(5660300001)(53936002)(38730400002)(2906002)(86362001)(305945005)(6666003)(50226002)(77096006)(22756006)(6916009)(50466002)(2950100002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB2117; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT060; 1:m4TXjItvADHkd3h330G44c3olMyRXCYNoVhzYtVCraMymN5GY35FOKm4AgciMIVYgArwikHi3fWIPsocenUwezYb80n9wo+O/UZ9LbhiiU0yN6YgOTYuhN7ncToKSOg1ZEHuqiYeWPFclCvex1VoRGcIC4WEfLkTFbkBV+1DYZ7hCe7rwJ9DBaZebMx8WZ6TrBr0ryt8p7swmGcS15GBQyV0vybSTGMusNlgik7mDzKkkCths9sTgV7jlW5wFgGXpsySzVa/8932/9Hphq7WpW5LNlGP8AkZP/wlVo7QPhROv0c7eXjQWPc0mW5FAB6Gs9rNQMRFaoLb8OOlO0+b2XifjR8janP5x7LUi7Iht/kXjtgvUt745Xi69Rjt8AC28J3e/Rly+BTpyhk3yiyCYzWXBYjplELIkoOi95zx73K9gGv6M0VEIUb5zxroi665QbvN+PaBvWP3zDEAFyPBaYmvn0Qsf5no3idcuRhetJP8EjI+uY4Zv4Q3epmf63cxThDzkJsq3dosykKO1p2jQw== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c5508fc1-4730-4453-3f9c-08d48affa7bd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:DB6PR0701MB2117; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2117; 3:ofwZpRtnkPxG1RALfspCeWrVUNKVVwqwzbKDv1XO5TIy59MrG0jL6ZQsS93eIAUK45bMHSGqGLdNPn82vQaZRWkawOXiTo5/5Mx14cScxsuQ8X7ifPv4z5o8NjHxJTn//YZWZTt32PuL2jht9mu2NXi14c0+ITtgvbmMHHsOCmeprTHf9FyZNqknPNmokrRqzHDomufYNjECtQ1HV+NRcpoRdaV8wgGf9Y83nEedZ+oTON2D1UYmW44B5dQzf/RyjFjcmbvfnCBbRjU5hyGGq+W2M3CbJkWML12CF+SGGQTpAlV66SLa0osk3RK1Bnt3O79HOqK5YP1hOK1/pmSZvQNlPES/9sI51SISCcjN9qJTVu3O+/exbPhQPgI3RV6DpbGWAojYaQC5eTWq4MoVtq/javgjXImRLNNwq/U5sngqi3lGeRTRrgLGCuVntJpOOEyhm6p78zEccN0I1CYU6A== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2117; 25:5RIJH4VU01AedR2j1JUiqVS+3PBsbnBKTkzzlf3pzKx3uKMnNzDXBKIaLlpdx77lgoU5kkGK1d4p5kOFOEMc7YvMGfcGnGWMzHird4LrbjxVzDiTS8nMXI2QJKdQ4t9dfH3ZlxCR8QRzLt6xM3z02IGgixIt90hfCrC/KqR2+Rra3XnDgTgSuTIudx8WpcBt8yZ6nDzggd0RkxYNs/cvLZ242W4dZfdVwp6153OxKGnkoGaMjxsy7opDIC3HHKxqhML3z0LufLClhIV6eY+IsBhhLK/qnH7R3Mf1Q9XtWYdISG2yAb8nZ7L64YCXh03WbyVFfyvfDVuwszFprVtHPcClUlD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D0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13021025)(13013025)(13023025)(3002001)(10201501046)(93006095)(93003095)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558099)(201703131423075)(201702281528075)(201703061421075)(201703061750152)(6072148); SRVR:DB6PR0701MB2117; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0701MB2117; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2117; 4:GtaXKcIebidjRYO0bo1a4GcuWIa1Bbv6FH20gtZLKOCUnA6HmML2lytUSYg8VA6fTDYv8p0ID7WkmFyhUUK6qTnngGXNaEVjN1hL4rjBXjCGXzovsFWXiZLVp1m8TAI33Dxgas+8DNRPA/OPRLnfWrqLd79MGofH/AJldAUZgFFHfCgJBy2PqesN7paVQWrYqyvD1I4F7z/zOgIl/wQ3xIcUct1gKVCx4l2XnCnaXIIad4ToTBfhzRn6H3wI4cukWQ7Yo8vYTmpNvcbn5gX8p5A5i1KWTN53PY0dKduDp8hEnHvyrRjpl236RS+5YJqa98UobMXjVyPfirMhojA/RZkd8Id7rXSdSi1uwykK9cwLuNh1ds9z65dD3Q2b5gF6d0F78LJloO6tR84NPOxbADM+o6Ws/k5dCAd0q7ARTw5H3m9+CcDJx9FyJYmB+mYZE3S8+G22SYthXTX5vdkc3KJwD8KapkTNFV7eihudjVu2E8cd096GGd2tcLdSGKMHctkTpd1YEOGb4Sv8xh7b5qaQg+5CUVVz9RUd615A5vftskrWTYSejpfhgj5av84hDdcKrQyes8JCKfYGS/LYUcomAp2xVd7WXLXaZLxJVZXoO3BntwjEOjKAxbkAmQVvq5ubeoEV3Yp2Auu89MipsY/R6VAKd1R+6VhFkEi4HdRj4WIherCmKzYFnRNxF55EtdYQbKbksiGJFOELkxXLXQAR7CcpQNWm+QoC69qSXovow7Om/Ch7kRORk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SAD9RzSH7lY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2117; 7:gQScMGEqdZ+9z0umzto621ptygcEeQUrEC2K8lPCLMkw4nEXO1vnVxIDxW5fHT6T0tmkzG5bio68OqJQCLyiydNybt4zP4kutArToaj1YXw0siHczyAqGTXVO2N/uqp9M76xQnTRFoSy8Gnwr2YJrNDQzxfa5PkMfYiyiIo8jsYqaWtO0QZb4p5JBWNqpIHb7VfcoLYHy6HbHX2snWrV6dO8LZxnofs1uEtu88jlYobX/O4R8qHZJInh9X6L+du2jHZLa9FGM7J5nKRP9XdzB3qMpLB49IfhIv0Gd/gG36zJevk8UMdKNwcAl2hYZqLgHWWcEh9hdtWcwv+0CQmXwg== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2017 10:49:59.9698 (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: DB6PR0701MB2117 Subject: [lng-odp] [API-NEXT PATCH v2 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[];