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 316B2A00C5; Thu, 13 Jan 2022 04:06:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 233744067E; Thu, 13 Jan 2022 04:06:36 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id B7D8740150 for ; Thu, 13 Jan 2022 04:06:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642043194; x=1673579194; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=Mfgu+1ZqJbLXfxI0pdHs5PV1kvb/KEloSk48FUUlqxw=; b=JwDbZvmMS+h6fryTTxD2SC4Us1tIUX6AhcKbkMIwY1MbOLn7fjWgHZU0 e319FsjpznbY+xUJ6UJOnw8sS821SUcRtVyHafjadcse42knXETqbmNaD dtBkkw3xhXHk/FhSC3NoOjamFvm0ZtnyPHRG1HpiAhBvsLZXeMPd229F4 zQ9nw0ae7Fo1MRSy1yAlnrNF432/6O0kCsCCheolVKy8dRT9Mkya/ZFWH hLsKYoc4hMvKWNV/2BrKTrX90IoyaessDF4QNKayG08CKMOaF0bJvp3an ZHLAlvzJaEkoFb59gi9NImgIehMH1QrA98tKueA555+9QF2uOtqTYwoDV g==; X-IronPort-AV: E=McAfee;i="6200,9189,10225"; a="330263910" X-IronPort-AV: E=Sophos;i="5.88,284,1635231600"; d="scan'208";a="330263910" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2022 19:06:34 -0800 X-IronPort-AV: E=Sophos;i="5.88,284,1635231600"; d="scan'208";a="475151166" Received: from unknown (HELO localhost.localdomain) ([10.239.251.93]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2022 19:06:33 -0800 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts] [PATCH V2 2/2] test_plans/shutdown_api_test_plan:add case in plan Date: Thu, 13 Jan 2022 19:35:52 +0800 Message-Id: <20220113113552.14517-2-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220113113552.14517-1-zhiminx.huang@intel.com> References: <20220113113552.14517-1-zhiminx.huang@intel.com> X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org add asan build test case in plan. v2: - fix plan format issue --- test_plans/shutdown_api_test_plan.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_api_test_plan.rst index 5a44b78d..c1a7abae 100644 --- a/test_plans/shutdown_api_test_plan.rst +++ b/test_plans/shutdown_api_test_plan.rst @@ -254,3 +254,17 @@ Test Case: RX/TX descriptor status 3. Check rx descriptor status can be ``AVAILABLE``, ``DONE`` or ``UNAVAILABLE``. 4. Run ``show port 0 txq * desc * status`` to check tx descriptor status. 5. Check tx descriptor status can be ``FULL``, ``DONE`` or ``UNAVAILABLE``. + +Test Case: RX/TX test with ASan enable +-------------------------------------- + +1. `AddressSanitizer` + +(ASan) is a widely-used debugging tool to detect memory access errors. +Add "-Dbuildtype=debug -Db_lundef=false -Db_sanitize=address" in meson build system to enable ASan tool:: + + CC=gcc meson -Denable_kmods=True -Dlibdir=lib -Dbuildtype=debug -Db_lundef=false -Db_sanitize=address --default-library=static x86_64-native-linuxapp-gcc + ninja -C x86_64-native-linuxapp-gcc -j 70 + +2. Launch testpmd and check testpmd status +3. Send packet and check testpmd forward packet successfully -- 2.17.1