From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E704943F61; Wed, 1 May 2024 16:46:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71BC1402A7; Wed, 1 May 2024 16:46:01 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id BA8244021E for ; Wed, 1 May 2024 16:45:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714574760; x=1746110760; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=3hmJVinuVTp49/M8NbRMkpvaJ+8D7mdnfjVffq5GcHQ=; b=lTzx3ivo8/XefuS0/uxt+Nor2AUvCFb/KPSMLPprmSvVqdi+MUb6iDEm /ByJA+ewMLrVfePx8LQfOI0Wqr2orWDivt+kYheYYP1LsOvzbs49St9M9 PVZwAcQQ25mL1mNymziVnTvjJ1aJITfdzWoYZsqtqUhYBrf1edVWoZIqz No5s14UdYzc+z1LovCehwdjp7EJGhfpx88cpV8dgk4DPBSR57XLw6/y7I UQJCGGmaY0yA6oFj1xs+gGHaffNq//lPHEjzACkuBvPiIJEL4BBJ62mHP 2x0O+YEAutvHiZnHhJo3OxcRcZcG15vEB6q2ZoOKGEkWGGgMaKsfeW3Gy A==; X-CSE-ConnectionGUID: 4LkyPDbmSbCyoQDDCMO8Nw== X-CSE-MsgGUID: 5wUL00imScW2NJ0N1OfyDQ== X-IronPort-AV: E=McAfee;i="6600,9927,11061"; a="35692447" X-IronPort-AV: E=Sophos;i="6.07,245,1708416000"; d="scan'208";a="35692447" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2024 07:45:59 -0700 X-CSE-ConnectionGUID: LjQwZehLRHC/BjqUBYtRqw== X-CSE-MsgGUID: VZWBCdhPSBGPw01UaajJZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,245,1708416000"; d="scan'208";a="31263416" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 May 2024 07:45:59 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 1 May 2024 07:45:58 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 1 May 2024 07:45:58 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 1 May 2024 07:45:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PYlgN6sXjv6cWv3eZ4mDYtmsqGwEJLHMccMvYKC8K44pHrOSglCbdJA+j3RUgdmLqSZ5XxZiZo8HMjAUrfogjmrMp5emDzsuQ7aTs6RorJitlAh7e6b/NxDszeCojIeUcmOnxT3vAL6NbfCrbJBRZ8gYvWFyeP2e3DJ6LizSvk61SHSauaZu9awVBs/caaWTd1ghXKohhMyQxysP54JhzbV1ETtTCKJpSuN4RXG3VPZTb0e2pSa7Qqx3uRTkoLzuQqHxRpfO2Cnc389wp0M1lHROid3Y2FSJ4E6OECAR/YnC6U+kifUNaKZDNKI+G9BJefTu/qtYLq99RIC53N5pgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=51aACXayy6HFgBCZnOoiFq8Qyam10E472S1gvPKMn2k=; b=jrFEMutXCwT1QQv39875dJzbeiTUWto2HRjuPPvV8YMTp8GSb2pQLVIgCnjicmmQa0IDxWYWTEQJuLnJSQcGCVkEOWREmJyzwBfJHbJF6XQF+QQCfKE6cKvfdQZeUInvE5Mr68GT9euLOfh5LexfodueVXtE7/HVApmfG3jfcM5KCWbixhbBmSPJexbaP4fmUQ1RH5T51UDnjUoRXuqYBvy3XCwIDws6RYO40LPw0Noo4/Vl8VEluhki0qGMNwliLMwXbsdLjr2yeGc+mOjgIXggv1Ba8SvsdHwod9X+VXkw7NOVDRp2/nZsnYwYlX7FJHuc+F+hm99TNnwCGi/NIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by SJ2PR11MB8450.namprd11.prod.outlook.com (2603:10b6:a03:578::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.29; Wed, 1 May 2024 14:45:55 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::487e:e20c:ad88:9c0f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::487e:e20c:ad88:9c0f%7]) with mapi id 15.20.7544.023; Wed, 1 May 2024 14:45:55 +0000 Date: Wed, 1 May 2024 15:45:51 +0100 From: Bruce Richardson To: Ferruh Yigit CC: Mattias =?iso-8859-1?Q?R=F6nnblom?= , Patrick Robb , "dev@dpdk.org" , Mattias =?iso-8859-1?Q?R=F6nnblom?= Subject: Re: Run unit tests with C++ too Message-ID: References: <4d5510d1-bdc6-43de-abbc-749eaa3c75a4@lysator.liu.se> <28dc7dc7-eb26-4405-9d80-9d8ec10f88b2@lysator.liu.se> <7f3b67df-ffc2-461a-9985-8b42282deb50@amd.com> Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7f3b67df-ffc2-461a-9985-8b42282deb50@amd.com> X-ClientProxiedBy: DB3PR06CA0035.eurprd06.prod.outlook.com (2603:10a6:8:1::48) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|SJ2PR11MB8450:EE_ X-MS-Office365-Filtering-Correlation-Id: d74d2b80-9abb-4482-7660-08dc69ed67f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Y3VjZlk1dDF0bUF2WnlocXdRQURMNEVDbEZhWWM2b3A5bnlqWmdqbm5ZeGdj?= =?utf-8?B?SjhUcjRsNXRlZjVZNGNRdUFLbUYzZlBYM2Q4MUlCTWJHd3h1QWU2VGQxQ09u?= =?utf-8?B?d1lBeUQ0TFg3WENiTm1zTVdRMmNVY2V4eDlGMUEvK1ZuSk1HWmdGUUZYZWNQ?= =?utf-8?B?a29DU04vSHBkenZMam1TRXZrNVcrMzkwdmJaaEhPM3F5cUFrNE1haTRHYlM5?= =?utf-8?B?bytvenRYTXBhT29QKzNzcUJDNlhPUk1iM0xxZm1tTXlYRXZzVEdBWXlOOFVW?= =?utf-8?B?UHphNDN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Yb2x0eXIy?= =?utf-8?B?bTYvQ2V1MG9aNmdKRFNKUHV3L3hmM1ZRbk9JWE1PcXdKamx6NlVjdlA5SHlO?= =?utf-8?B?UlYvSFQzQjZQQkhnN29JaXJDaTZRQXFvSHFmRFdVVmQ3MmdTaXBJOHhmZWNn?= =?utf-8?B?NXU1b0tuQWtWUXNxeEJSK0JjNnpLQllySi9tVmJLMnM4UUdLaFJCQVE5d0ZG?= =?utf-8?B?V3dGSEcvSFJZaEYyWHFvQ0gwb29WS0hLcTU1RzYzS0l2QlhHdnFUNkNVNTU0?= =?utf-8?B?Sk9GK25jTUpLWjBJdlNjUXdKNkpvVjNYQ0kzUG13Ykp3czIxbng4TkIrMEk1?= =?utf-8?B?bUR6dXJWUTNORzRzaTRqeE1oM296blN1eUZWcmZHaUxpQkxhSUpRd1pWNURQ?= =?utf-8?B?TTFNZnp1ZDBBN1JPOURIUWFYSlk0Y1pKa1VlajZrNWN4eVdDbnRiT3RHOHFq?= =?utf-8?B?Wk9qRm96T1l0eUxzcmFrWUJ5VDBGZTBtREl5ektXWTl6VVFGYThBdjdDWGdv?= =?utf-8?B?SFRNLytsanR4YkdUV3VZUzR0UEFVeDMxRDQ3UGZJTjMrT0JucTZ2dEpBPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YWp5VDBhbWZrSFR1ekVsZlhQR2szcExncCt5RVNTT1hyYVVrdDhzb1V6Z1N2?= =?utf-8?B?RXFkMTQ3YUdWTjN3VDhJVDNBcXZxV0hpVHgyN2pQZDJTcmo0bytVRzdWcVJh?= =?utf-8?B?TEhHOUN4RzBkWUtXN2ZhUFNndmlScnBqME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?utf-8?B?NmxselNvdGpZL1BCb1oraExZeHQ5NGFLVm9MVG1hZC8xQUxOMENaZnFnM2Ev?= =?utf-8?B?aFRaaklKK1QrWGlxaDdaeUxXWWFFK0N2TTZPQVhlcTJVUkVSYTFBZzR1cTN0?= =?utf-8?B?OU15cmpmYklHZjNpVHQ4VjJHcTlHZmRIdjhQMFBOOVRnVXBlcnQ0cFUva3pG?= =?utf-8?B?L0E5VitnOG5VbHo2ZnM3S2JrcUlaaG91dFJzdUtqc2IzUHN6SmpkMVdiWCtv?= =?utf-8?B?K2c9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: d74d2b80-9abb-4482-7660-08dc69ed67f8 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2024 14:45:55.3991 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: erxYofvRmLlADLcVoPS030Y+VWoxKNHgZOGL0lp67cpO7JmLcfEC0TIp3itQ6Gv9pL39WEnk4JxqnLRChPMnIdJEZorjMxoEXjH3cOx/ke4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB8450 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, May 01, 2024 at 03:38:10PM +0100, Ferruh Yigit wrote: > On 5/1/2024 3:14 PM, Mattias Rönnblom wrote: > > On 2024-05-01 11:10, Ferruh Yigit wrote: > >> On 4/30/2024 9:57 PM, Patrick Robb wrote: > >>> > >>> > >>> On Tue, Apr 30, 2024 at 4:13 PM Mattias Rönnblom >>> > wrote: > >>> > >>>      On 2024-04-30 15:52, Patrick Robb wrote: > >>>      > > >>>      > > >>>      > On Sun, Apr 28, 2024 at 3:46 AM Mattias Rönnblom > >>>      > >>>      > >> > >>> wrote: > >>>      > > >>>      >     It would be great if the unit test suite (app/test/*) was > >>>      compiled (and > >>>      >     run) using a C++ (C++11) compiler as well. At least, if > >>> such is > >>>      >     available. > >>>      > > >>>      > > >>>      > Sure, the UNH Lab can try this. > >>>      > > >>>      > > >>>      >     With the current state of affairs, header file macros or > >>>      functions are > >>>      >     not verified to be functional (or even valid) C++. > >>>      > > >>>      >     "C is a subset of C++", which was never true, is becoming > >>> less and > >>>      >     less so. > >>>      > > >>>      >     If all unit tests aren't valid C++, maybe one could start > >>> with > >>>      an "opt > >>>      >     in" model. > >>>      > > >>>      > > >>>      > Okay, so basically run the fast-test suite, record all that don't > >>>      pass, > >>>      > submit a bugzilla ticket stating which unit tests are not > >>> valid on a > >>>      > certain c++ compiler, then bring CI Testing online using the > >>> valid > >>>      > subset of fast-tests. This should work. > >>>      > > >>> > >>>      Sounds good. > >>> > >>>      Just to be clear: the above includes extending the DPDK build > >>> system to > >>>      build the app/test/dpdk-test binary in two versions: one C and > >>> one C++, > >>>      so that anyone can run the C++ tests locally as well. Correct? > >>> > >>> > >>> Okay, so now I am understanding this is not yet available. When I > >>> responded this morning I was figuring that c++ compiler support was > >>> available and I simply wasn't aware, and that we could quite easily set > >>> cc={some c++ compiler}, meson would pick it up, and we would be able to > >>> build DPDK and then run unit tests in this manner in CI testing. > >>> > >>> I didn't mean to suggest we would submit patches extending the build > >>> system to this end. That's probably a little out of scope for what we > >>> try to accomplish at the Community Lab. > >>> > >>> But if the aforementioned build system support is added, of course we > >>> are willing to add that as a build environment for unit tests and report > >>> those respective results. > >>>   > >> > >> Does it have to be 'app/test/dpdk-test', why not build examples with C++? > >> > > > > The unit tests have the ability to test DPDK, which is exactly what we > > want to do here. Such testing isn't limited to "compiles yes/no", but to > > detect run-time (behavioral) issues, and properly report them. > > > > This is especially important for cases where there is code only > > exercised in C++ translation units (i.e., in #ifdef __cplusplus). > > > > And Bruce highlighted that compile check is already covered. > > Than I guess this work needs to be done in two steps, > 1. Enable building dpdk-test (or all applications) with C++ in build > system. And fix possible issues. > > 2. Enable in dpdk-test C++ build and run in CI. > > We need a volunteer for 1. before asking CI lab for 2. > For testing with C++ we only need to cover code contained in header files. Code for functions built into the DPDK .so or .a libraries will behave the same way when called from C, C++ or any other language. It's the inline functions in headers that will be compiled differently in C++ so we should only look to those tests rather than trying to make the whole unit test suite buildable via C++ IMHO. /Bruce