From patchwork Wed Aug 16 15:34:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 130425 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 081AC43081; Wed, 16 Aug 2023 17:36:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53A0C43285; Wed, 16 Aug 2023 17:35:46 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id D8C6143275 for ; Wed, 16 Aug 2023 17:35:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692200144; x=1723736144; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mHczh3BeYh4ON1J+EGQD1yhuCmseyN24giOwStz9vU8=; b=Ky/HraOLi4JehH7QsGRsBCpGraoEPI2YuELfzeKYCxNEjOTOgKbgTljw c87D9G4L/jKc9vChY0H0W6OZcKQqVg4GWI1shRFzKO24AQxNtNKGLno7/ ftZ5iqDLFBupskFKexxeXrcyXQjupFxTFBtG3qucRky1/s2/w5W10yi+0 1ZPtHS/xgRwJlvetbv8OXpgNJ8sb1ZexnGMt5BKw2xGSeryIjljJ/N/LS +G8hgq0shWJl7Pnabk0CNUoKM663G5h8rvHWICcXdw+r22vFymVmu7LTM HaoDaN7rRnq9GApZA85geZI36JD1FldnRQEt6+E76avCBd+nRGyQISD2L A==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="458916018" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="458916018" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 08:35:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="857856305" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="857856305" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by orsmga004.jf.intel.com with ESMTP; 16 Aug 2023 08:35:42 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, probb@iol.unh.edu, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v6 08/11] app/test: add debug test suite Date: Wed, 16 Aug 2023 16:34:36 +0100 Message-Id: <20230816153439.551501-9-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230816153439.551501-1-bruce.richardson@intel.com> References: <20230721115125.55137-1-bruce.richardson@intel.com> <20230816153439.551501-1-bruce.richardson@intel.com> MIME-Version: 1.0 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 Add in for all platforms, the suite of tests to dump out the structure information available. Since the commands are defined in commands.c on all OS's, do not limit their presence to just the non-windows OS's. Signed-off-by: Bruce Richardson --- app/test/suites/meson.build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/app/test/suites/meson.build b/app/test/suites/meson.build index eddf332156..19a6b902fa 100644 --- a/app/test/suites/meson.build +++ b/app/test/suites/meson.build @@ -102,3 +102,23 @@ if not is_windows and dpdk_conf.has('RTE_LIB_TELEMETRY') is_parallel : false, suite : 'fast-tests') endif + +# dump tests are defined in commands.c, and not easily extractable +dump_test_names = [ + 'dump_devargs', + 'dump_log_types', + 'dump_malloc_heaps', + 'dump_malloc_stats', + 'dump_mempool', + 'dump_memzone', + 'dump_physmem', + 'dump_ring', + 'dump_struct_sizes', +] +foreach arg : dump_test_names + test(arg, dpdk_test, + env : ['DPDK_TEST=' + arg], + timeout : timeout_seconds_fast, + is_parallel : false, + suite : 'debug-tests') +endforeach