From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A1E7058D1 for ; Fri, 12 May 2017 10:17:03 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 12 May 2017 01:17:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,328,1491289200"; d="scan'208";a="1129429695" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 12 May 2017 01:17:01 -0700 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Date: Fri, 12 May 2017 16:18:14 +0800 Message-Id: <1494577095-45103-8-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1494577095-45103-1-git-send-email-lijuanx.a.tu@intel.com> References: <1494577095-45103-1-git-send-email-lijuanx.a.tu@intel.com> Subject: [dts] [PATCH V1 7/8] tests/vm_power_manager: adjust to dpdk1705 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: Fri, 12 May 2017 08:17:04 -0000 the output message of testpmd changed on dpdk1705 Signed-off-by: Lijuan Tu --- tests/TestSuite_vm_power_manager.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py index 26245e6..5e273f4 100644 --- a/tests/TestSuite_vm_power_manager.py +++ b/tests/TestSuite_vm_power_manager.py @@ -94,8 +94,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): self.vm_power_dir = "./examples/vm_power_manager/" mgr_cmd = self.vm_power_dir + "build/vm_power_mgr -c 0x3 -n 4" out = self.dut.send_expect(mgr_cmd, "vmpower>", 120) - self.verify("Initialized successfully" in out, - "Power manager failed to initialized") self.dut.send_expect("add_vm %s" % self.vm_name, "vmpower>") self.dut.send_expect("add_channels %s all" % self.vm_name, "vmpower>") vm_info = self.dut.send_expect("show_vm %s" % self.vm_name, "vmpower>") @@ -119,8 +117,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): guest_cmd = self.vm_power_dir + \ "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- -i" out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) - self.verify("now connected" in out, - "Power manager guest failed to connect") self.vm_dut.send_expect("quit", "# ") def get_cpu_frequency(self, core_id): @@ -140,8 +136,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): guest_cmd = self.vm_power_dir + \ "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- -i" out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) - self.verify("now connected" in out, - "Power manager guest failed to connect") for vcpu in range(self.core_num): self.vm_dut.send_expect( @@ -172,8 +166,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): guest_cmd = self.vm_power_dir + \ "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- -i" out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) - self.verify("now connected" in out, - "Power manager guest failed to connect") for vcpu in range(self.core_num): self.vm_dut.send_expect( @@ -201,8 +193,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): guest_cmd = self.vm_power_dir + \ "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- -i" out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) - self.verify("now connected" in out, - "Power manager guest failed to connect") max_freq_path = "cat /sys/devices/system/cpu/cpu%s/cpufreq/" + \ "cpuinfo_max_freq" @@ -226,8 +216,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): guest_cmd = self.vm_power_dir + \ "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- -i" out = self.vm_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) - self.verify("now connected" in out, - "Power manager guest failed to connect") min_freq_path = "cat /sys/devices/system/cpu/cpu%s/cpufreq/" + \ "cpuinfo_min_freq" @@ -293,8 +281,6 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): guest_cmd = self.vm_power_dir + \ "guest_cli/build/guest_vm_power_mgr -c 0xf -n 4 -- -i" out = vm2_dut.send_expect(guest_cmd, "vmpower\(guest\)>", 120) - self.verify("now connected" in out, - "Power manager guest failed to connect") vm2_dut.send_expect("quit", "# ") vm2.stop() -- 1.9.3