From patchwork Tue Aug 15 15:10:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 130372 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 A1B7C43052; Tue, 15 Aug 2023 17:23:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA9F94329C; Tue, 15 Aug 2023 17:23:00 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 0EDEA4326E; Tue, 15 Aug 2023 17:22:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692112973; x=1723648973; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dlEB6kgar3BJDoCSSREDQAQIny4iiORecQvalODiZsw=; b=KwUFP0klJPOQZONrDpFNavSAl1KG0fuiuz/CNOooPlaB3vU8mz4Xl/fW hjKV1Mr5WRagT1D//hq0dK51jOc3zH9vwTUHpswQJTttUw6Yos/m00kC2 gpi+0Nuc8afm9hm9sw4k8XV+kFggoGKELptNe/kKf405rQPGDcwliZMwE BaN9bs8sJLc4Pb8QApYnmMfi1A9SZo19isnb3QmGmQY54aWzeGZ8y+Ecd lYWaKlddoTTpqpyJ8Nun/Yubi2ntdJv4hhDOh1/37cUCqSCurBA8DVyCb 5oBEirDze6cgF2RSAtbPz7YZL7G/3SrP9nZCHVUZ+NDfB1Jw6zZkGjyeO A==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="357271542" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="357271542" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2023 08:11:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="803843840" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="803843840" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by fmsmga004.fm.intel.com with ESMTP; 15 Aug 2023 08:11:07 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ci@dpdk.org, Bruce Richardson Subject: [PATCH v5 07/10] app/test: add debug test suite Date: Tue, 15 Aug 2023 16:10:51 +0100 Message-Id: <20230815151053.996469-8-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230815151053.996469-1-bruce.richardson@intel.com> References: <20230721115125.55137-1-bruce.richardson@intel.com> <20230815151053.996469-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-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 2b428847c6..8cf498ac52 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