[dts] [PATCH V1] tests:align directory changes in dpdk

zhuwenhui wenhuix.zhu at intel.com
Fri May 24 10:02:54 CEST 2019


According to the change of dpdk commit id "218c4e68c1d9".
Changed from "common_linuxapp" to "common_linux"

Signed-off-by: zhuwenhui <wenhuix.zhu at intel.com>
---
 tests/TestSuite_ftag.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_ftag.py b/tests/TestSuite_ftag.py
index e58a57a..9d30918 100644
--- a/tests/TestSuite_ftag.py
+++ b/tests/TestSuite_ftag.py
@@ -70,7 +70,7 @@ class TestFtag(TestCase):
         patch_dst = "/tmp/"
         self.dut.session.copy_file_to(patch_file, patch_dst)
         self.patch_hotfix_dpdk(patch_dst + "fm10k-add-a-unit-test-for-FTAG-based-forwarding.patch", True)
-        self.dut.send_expect("sed -i -e '/CONFIG_RTE_VIRTIO_USER=y/a\CONFIG_RTE_LIBRTE_FM10K_FTAG_FWD=y' config/common_linuxapp", "# ")
+        self.dut.send_expect("sed -i -e '/CONFIG_RTE_VIRTIO_USER=y/a\CONFIG_RTE_LIBRTE_FM10K_FTAG_FWD=y' config/common_linux", "# ")
         self.dut.send_expect("sed -i -e '/SRCS-y += test_pmd_perf.c/a\SRCS-y += test_fm10k_ftag.c' app/test/Makefile", "# ")
         self.dut.build_install_dpdk(self.dut.target)
 
@@ -165,7 +165,7 @@ class TestFtag(TestCase):
         Run after each test suite.
         """
         self.dut.kill_all() 
-        self.dut.send_expect("sed -i  '/CONFIG_RTE_LIBRTE_FM10K_FTAG_FWD=y/d' config/common_linuxapp", "# ")
+        self.dut.send_expect("sed -i  '/CONFIG_RTE_LIBRTE_FM10K_FTAG_FWD=y/d' config/common_linux", "# ")
         self.dut.send_expect("sed -i  '/SRCS-y += test_fm10k_ftag.c/d' app/test/Makefile", "# ")
         patch_dst = "/tmp/"
         self.patch_hotfix_dpdk(patch_dst + "fm10k-add-a-unit-test-for-FTAG-based-forwarding.patch", False)
-- 
2.17.2



More information about the dts mailing list