From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 41D605A44 for ; Fri, 12 May 2017 09:43:13 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 12 May 2017 00:43:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,328,1491289200"; d="scan'208";a="85928932" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 12 May 2017 00:43:11 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Fri, 12 May 2017 15:44:25 +0800 Message-Id: <1494575072-44798-5-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1494575072-44798-1-git-send-email-huilongx.xu@intel.com> References: <1494575072-44798-1-git-send-email-huilongx.xu@intel.com> Subject: [dts] [PATCH V2] fix test app compile error 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 07:43:13 -0000 dpdk update code tree alrady, so should update compile test app compile for test Signed-off-by: xu,huilong --- tests/TestSuite_unit_tests_pmd_perf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/TestSuite_unit_tests_pmd_perf.py b/tests/TestSuite_unit_tests_pmd_perf.py index a3284a0..7fc200e 100644 --- a/tests/TestSuite_unit_tests_pmd_perf.py +++ b/tests/TestSuite_unit_tests_pmd_perf.py @@ -71,12 +71,12 @@ class TestUnitTestsPmdPerf(TestCase): [arch, machine, env, toolchain] = self.target.split('-') self.dut.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=y/CONFIG_RTE_IXGBE_INC_VECTOR=n/' config/common_%s" % env, "# ", 30) self.dut.build_install_dpdk(self.target) - out = self.dut.build_dpdk_apps('./app/test/') + out = self.dut.build_dpdk_apps('./test/test/') self.verify('make: Leaving directory' in out, "Compilation failed") - self.dut.send_expect("mv -f ./app/test/test ./app/test/test_scalar", "# ") + self.dut.send_expect("mv -f ./test/test/test ./test/test/test_scalar", "# ") self.dut.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=n/CONFIG_RTE_IXGBE_INC_VECTOR=y/' config/common_%s" % env, "# ", 30) self.dut.build_install_dpdk(self.target) - out = self.dut.build_dpdk_apps('./app/test/') + out = self.dut.build_dpdk_apps('./test/test/') self.verify('make: Leaving directory' in out, "Compilation failed") def set_up(self): @@ -90,7 +90,7 @@ class TestUnitTestsPmdPerf(TestCase): Run pmd stream control mode burst test case. """ - self.dut.send_expect("./app/test/test -n 1 -c f", "R.*T.*E.*>.*>", 60) + self.dut.send_expect("./test/test/test -n 1 -c f", "R.*T.*E.*>.*>", 60) for mode in self.burst_ctlmodes: self.dut.send_expect("set_rxtx_sc %s" % mode, "RTE>>", 10) out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 120) @@ -113,9 +113,9 @@ class TestUnitTestsPmdPerf(TestCase): for mode in self.rxtx_modes: if mode is "scalar": - self.dut.send_expect("./app/test/test_scalar -n 1 -c f", "R.*T.*E.*>.*>", 60) + self.dut.send_expect("./test/test/test_scalar -n 1 -c f", "R.*T.*E.*>.*>", 60) else: - self.dut.send_expect("./app/test/test -n 1 -c f", "R.*T.*E.*>.*>", 60) + self.dut.send_expect("./test/test/test -n 1 -c f", "R.*T.*E.*>.*>", 60) table_row = [mode] self.dut.send_expect("set_rxtx_sc continuous", "RTE>>", 10) -- 1.9.3