From patchwork Fri Apr 28 12:09:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 98352 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp231757qgf; Fri, 28 Apr 2017 05:11:42 -0700 (PDT) X-Received: by 10.107.147.135 with SMTP id v129mr11281932iod.233.1493381502582; Fri, 28 Apr 2017 05:11:42 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id y20si376161ita.1.2017.04.28.05.11.42; Fri, 28 Apr 2017 05:11:42 -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 261CA62BE0; Fri, 28 Apr 2017 12:11:42 +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=-2.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, 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 0C70D606B6; Fri, 28 Apr 2017 12:11:35 +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 021B362BFF; Fri, 28 Apr 2017 12:11:29 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0091.outbound.protection.outlook.com [104.47.1.91]) by lists.linaro.org (Postfix) with ESMTPS id 4DB9A6068D for ; Fri, 28 Apr 2017 12:11:04 +0000 (UTC) Received: from HE1PR0701CA0059.eurprd07.prod.outlook.com (10.168.191.27) by VI1PR0701MB2127.eurprd07.prod.outlook.com (10.169.137.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.1; Fri, 28 Apr 2017 12:11:02 +0000 Received: from DB5EUR03FT054.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by HE1PR0701CA0059.outlook.office365.com (2603:10a6:3:9e::27) 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, 28 Apr 2017 12:11:02 +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 DB5EUR03FT054.mail.protection.outlook.com (10.152.20.248) 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, 28 Apr 2017 12:11:01 +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 v3SC9w2u001664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 28 Apr 2017 15:09:58 +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 v3SC9wn3001645 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Fri, 28 Apr 2017 15:09:58 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Fri, 28 Apr 2017 15:09:52 +0300 Message-ID: <20170428120958.17526-6-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170428120958.17526-1-petri.savolainen@linaro.org> References: <20170428120958.17526-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)(39860400002)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(2980300002)(199003)(189002)(9170700003)(6666003)(6916009)(2950100002)(50466002)(1076002)(189998001)(48376002)(22756006)(5660300001)(86362001)(2906002)(2351001)(36756003)(47776003)(106466001)(105596002)(33646002)(50226002)(305945005)(5003940100001)(110136004)(8936002)(38730400002)(77096006)(76176999)(356003)(50986999)(53936002)(81166006)(8676002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB2127; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT054; 1:F3JV0gyn3mnU2ND4Mfe4ARVaROJ25JsIi33QMpgAiqzIvKJ6tTdXxILd9AscwylXKlLcnYOZcHJeTuk7MPzwMiFiFivtVhb5H1N/XMaJD8Yt7f7cXeKkNZFc8D3+8Tw8FfxZD74SXZG0SSEpz0G8mhDHY86PZj7IkToeG3LGIwbHSLeoJWdws1X8O3NuBPcELKYT0dtfjMRo0I/rOt+SmmCfrDABXqrEprvaDGTYfgRCzPLgVMfBIa3SAQb10RlP/W+hknLFMtEU6+w/uzyJcicionIU+nUz+lRPWFYVm4RoP/iJ9OXnhvG8VeTqxCSu6ZO7ZQgccJXagJtr76oZ5wMk1KER2mpgwMeVQ8bPqoBiUt/o7rtkzaHKP3SYl06V1qLy2PvRJz4o1027+g5CBEmWJiSiQYBtM+PM2n+cHsQ12ZCCImtoUaJEmpyAdF+5cP55bwV72KD2fvO3GcOYIHnFswv73lgV2UJrWOp9lAJhqMPyj4MBTQx1WPtQrop5yzv8n3sJGIckOh+WQalZ5g== MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e23e145c-013b-4811-8f9d-08d48e2fa345 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR0701MB2127; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2127; 3:nCSxpT8VbvhLC1qWH7BNbCA6MepcL/MZOQk+RNOvi7Xs29KSsLT5u7v9m7glA438fKG/anQyBGyDco24r2dSex2eSFZwrhgcdhI0CrjxtrAWFKOOPgp+M5vbmwextNBauBAHQFfb0u8k2ZC2V3KPMWyrdUTRlhXoCxaAeDYY5EkGRHLK62gPx/Rh3QWTceyZ6gm3Ua74BJXfmoj1YdrsYAIvAT+b/vtDxYdqQPFNy8/LxGtQYytcj4Pe4Plrc3CPZ7d9kblPPr9cZ4vR0vMrfRtKJok9DgW/MMvAicc2E0Us9eFr2tyfbxXbO1mktzKLlMyJQeyMBgaCZQ7bWg/eV/DZivEY5eBXHHWVr8NH/6UIvLE9W1BWU2piMjvyolJSL9eK/lLew/97M6j0E/TGMTV8BtC7qp3sm4wpegwxezAqAd1KUSEpL28TcN5liFRR+sVIjJg2qw+dHh/kDWKp4w== X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2127; 25:mSOJwxgc8orZwwnI2t0oJiU99ta4DcH6ucNM5WjDv6r8YQ0kIuKpMXWtNRlYGIlBb3tF7lKnryEWDXTEFhCcaOERGKSIMNaxAhTPomvOzSrO+qs00Yf+7SJy3fOL9KKey6zwvsj6W/he5Sf1RJ4Wd4ZJBZNCopy7vbpZQbhnh3q4H68TQpch2fQnMM4E8ojoOAJeyGhyAbNyrX5Zz/sJ7X7LhNCVDFkPPJkQObnERRjOJwadaTNfdf70rlviFnxNjHfQ3qv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YEdHeI1sw1ElViBt92Mo3WDlVntqRP63sZmrMkKLy5iWhH+KkwuLiLPEd7gHkXrO5UfgOBU53bi7GTiQL5zFY= 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)(13023025)(13013025)(13021025)(3002001)(10201501046)(93006095)(93003095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123560025)(20161123558100)(20161123564025)(20161123562025)(20161123555025)(6072148); SRVR:VI1PR0701MB2127; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB2127; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2127; 4:S6JzcRENYpvFbbnbqOJ+3oT46ogs2Wv9LS91n4Orkq/NumkFtWKFo5CJrZ2AB1nKT5JhCRONn1OhKUyJ52pK+gCRGVD7ZDULDYb3Xb39ailhFKOAVCzTZDzh15ww3RChDQrj/qUkOq+yE3mepHTvJiZS81mXnPEUyo2F3Rm/Ng2pjvMoDh0tUbgXVSt+nvSoDT83JOv5E4JtSCMm/+ZMVCwGudyXEImTb2cN08LkE7ne+0xOQzwjqudyZLFzTmdtI4DsnAl5xV7yzV1g8Zo1px0/v/rebwdCPopg0gfJq+MOaJci0YbF29VAcYD2kICnvTHiRc8teCsYaXoJAAZesnragg/nG9gcWsFb6g/C2NSt8C0p9/+iaNctrcgjQz4rn8MQj+N9NrXE0ArRZdGJJgLm4rAKogg+6pKjQJrKRYJ25pgMpw4xu6isCEv5B7eksrT2VU/wiea91/DLA378yE1QaJFJiZKiMNUbNEZn3gWLMlOkedhUo2fcgqIN4e+TIim3i2eH4r40SdcjGw7mAdKKxXz813cJmwGFg4c0YVdi7JuxDSf2fXwBJQZBcZv8FeI9itVyFZMbFw0EIVYMLnOscDuckcV0SOaLXN879HWZay7H4GgpPk6WgYgBRq+z7ewX/ucjAPe1cv1hED1EuM5Y+PVlq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neFz30gIR6EaWrAZ6SjJfwuveRNx4lTtr2vY8D6+f1IBr9gNTmxqXh61SOtJ0K1mdaSrQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB2127; 7:5WoPlVnihxa900rnAZaNOsBRqbghoaTGiF4xqBuxHUZ5TUBiibz2ZqtOo7gPg4y0BUYDLqO/XU+AN3b7MIKM1RN540N6T3n0oHUyK3aZbxRC++xquzOBBUaPJPI2nJezkT9Mg6il2AEub7iSAlkj9ujwb1Rfx5dIas7PpCUFOlL2Xt+NRaTQpCVDtjSLElRwSXa2/rLTyj8Y1VO/h/rpYWAphTevjEXez/NlEzUtngbNf4DumZdaIt/AFzKU5XHpJ3HIh/R7qam9PWzEuMy/ICGxGmO5ghGHOVxAB5RlQH+GDlBycMeg5IzUN22Zb0WlTfIIhB2aP9kpXxz/HJmjcA== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2017 12:11:01.8059 (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: VI1PR0701MB2127 Subject: [lng-odp] [API-NEXT PATCH v3 05/11] 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[];