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 04F58A0548; Wed, 8 Jun 2022 06:49:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D12FE4021F; Wed, 8 Jun 2022 06:49:25 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 5D74E4021D for ; Wed, 8 Jun 2022 06:49:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654663765; x=1686199765; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9sL7nISuHmgdyKhit+Lz0AsQJLA/qI+1MMC/QL/P7WE=; b=BpMSHYOK2dArnJwDWwfMroaLV6sCC9AJ6qHxNQ6EdQYOp85VhDS15o8D vU0b9DG1i6uoFWr+xyKaEHAVVUJxhhUh4qVgOUP2SSM1ESIzp0m5A6irw 2pg10AWBpXgWq/aLawnxnSgfBho3ZswQDcMmqzPVvjzKpcH4sfHGMr5F+ iAsLzFbivC0DIE20PZITSYe8dmxu+sm+Ymsqqkd2EX4dMlnJZKORh08p/ CVrgpxgOTTg8aLZ68pwsY8+Y4FIbYpiYDbOjBPUXe6pJKuB1YYjNGn7dz td25gKfv+MNl6K6kL4P8OQ96wJ1YJjkDQ+Dv+A/qiLLlObaAk7NJdkMTE g==; X-IronPort-AV: E=McAfee;i="6400,9594,10371"; a="256619765" X-IronPort-AV: E=Sophos;i="5.91,285,1647327600"; d="scan'208";a="256619765" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 21:49:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,285,1647327600"; d="scan'208";a="636555956" Received: from dpdk-yaqi.sh.intel.com ([10.67.118.178]) by fmsmga008.fm.intel.com with ESMTP; 07 Jun 2022 21:49:20 -0700 From: Yaqi Tang To: dts@dpdk.org Cc: Yaqi Tang Subject: [dts][PATCH V1] test_plans/coremask: modify test case name Date: Wed, 8 Jun 2022 04:49:18 +0000 Message-Id: <20220608044918.350522-1-yaqi.tang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The case name of test case 3 does not match the test script, so modify the case name of test case 3. And adjust the format of test plan according to test plan template. Signed-off-by: Yaqi Tang --- test_plans/coremask_test_plan.rst | 52 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/test_plans/coremask_test_plan.rst b/test_plans/coremask_test_plan.rst index b14d561f..074c8191 100644 --- a/test_plans/coremask_test_plan.rst +++ b/test_plans/coremask_test_plan.rst @@ -12,54 +12,52 @@ Prerequisites This test will run in any machine able to run ``test``. No traffic will be sent. No extra needs for ports. +Test Case +========= -Test Case: individual coremask -============================== +Test Case 1: individual coremask +-------------------------------- -Launch ``test`` once per core, set the core mask for the core:: +1. Launch ``test`` once per core, set the core mask for the core:: ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c -n 4 +2. Verify: every time the application is launched the core is properly detected + and used. -Verify: every time the application is launched the core is properly detected -and used. +3. Stop ``test``. -Stop ``test``. +Test Case 2: big coremask +------------------------- -Test Case: big coremask -======================= +1. Launch ``test`` with a mask bigger than the available cores:: -Launch ``test`` with a mask bigger than the available cores:: + ./x86_64-default-linuxapp-gcte't'sc/app/test/dpdk-test -c <128 bits mask> -n 4 - ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c <128 bits mask> -n 4 +2. Verify: the application handles the mask properly and all the available cores + are detected and used. +3. Stop ``test``. -Verify: the application handles the mask properly and all the available cores -are detected and used. +Test Case 3: all cores coremask +------------------------------- -Stop ``test``. - -Test Case: all cores -==================== - -Launch ``test`` with all the available cores:: +1. Launch ``test`` with all the available cores:: ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c -n 4 +2. Verify: all the cores have been detected and used by the application. -Verify: all the cores have been detected and used by the application. +3. Stop ``test``. -Stop ``test``. +Test Case 4: wrong coremask +--------------------------- -Test Case: wrong coremask -========================= - -Launch ``test`` with several wrong masks:: +1. Launch ``test`` with several wrong masks:: ./x86_64-default-linuxapp-gcc/app/test/dpdk-test -c -n 4 +2. Verify: the application complains about the mask and does not start. -Verify: the application complains about the mask and does not start. - -Stop ``test``. +3. Stop ``test``. -- 2.25.1