From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 54D27378E for ; Wed, 21 Sep 2016 04:09:31 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 20 Sep 2016 19:09:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,371,1470726000"; d="scan'208";a="1033959622" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 20 Sep 2016 19:09:29 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Wed, 21 Sep 2016 10:11:05 +0800 Message-Id: <1474423865-22963-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] update ring pmd unit test case X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 02:09:31 -0000 ring pmd unit test device name chaned by development Signed-off-by: xu,huilong --- test_plans/unit_tests_ringpmd_test_plan.rst | 4 ++-- tests/TestSuite_unit_tests_ringpmd.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test_plans/unit_tests_ringpmd_test_plan.rst b/test_plans/unit_tests_ringpmd_test_plan.rst index 31f703b..7ffba8b 100644 --- a/test_plans/unit_tests_ringpmd_test_plan.rst +++ b/test_plans/unit_tests_ringpmd_test_plan.rst @@ -52,8 +52,8 @@ virtual ethernet devices with full rx&tx functions. The steps to run the unit test manually are as follow:: # make -C ./app/test/ - # ./app/test/test -n 1 -c ffff --vdev='eth_ring0,nodeaction=:0:CREATE' - --vdev='eth_ring1,nodeaction=:0:CREATE' --vdev='eth ring2,nodeaction=:0:CREATE' + # ./app/test/test -n 1 -c ffff --vdev='net_ring0' + --vdev='net_ring1' RTE>> ring_pmd_autotest The final output of the test has to be "Test OK" diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py index 2c83bcd..b6d21bb 100644 --- a/tests/TestSuite_unit_tests_ringpmd.py +++ b/tests/TestSuite_unit_tests_ringpmd.py @@ -69,7 +69,7 @@ class TestUnitTestsRingPmd(TestCase): """ Run Inter-VM share memory test. """ - dev_str = "--vdev=eth_ring0 --vdev=eth_ring1" + dev_str = "--vdev=net_ring0 --vdev=net_ring1" self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 10) out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120) -- 1.9.3