[V1,02/10] tests/TestSuite_ddp_l2tpv3.py: Instead of getting the rxq&txq value from common_base to rte_config.h
diff mbox series

Message ID 20200916122951.17646-3-junx.w.zhou@intel.com
State New
Headers show
Series
  • Modify suites to support meson
Related show

Commit Message

Zhou, JunX W Sept. 16, 2020, 12:29 p.m. UTC
Instead of getting the rxq&txq value from common_base to rte_config.h

Signed-off-by: Zhou, Jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_ddp_l2tpv3.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Patch
diff mbox series

diff --git a/tests/TestSuite_ddp_l2tpv3.py b/tests/TestSuite_ddp_l2tpv3.py
index da734f31..22ae0be7 100644
--- a/tests/TestSuite_ddp_l2tpv3.py
+++ b/tests/TestSuite_ddp_l2tpv3.py
@@ -50,11 +50,10 @@  class TestDdpL2tpv3(TestCase):
         self.used_dut_port = self.dut_ports[0]
         tester_port = self.tester.get_local_port(self.used_dut_port)
         self.tester_intf = self.tester.get_interface(tester_port)
-        out = self.dut.send_expect("cat config/common_base", "]# ", 10)
-        self.PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
-        pattern = "(%s=)(\d*)" % self.PF_Q_strip
+        out = self.dut.send_expect("cat config/rte_config.h", "]# ", 10)
+        self.PF_Q_strip = 'RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
+        pattern = "define (%s) (\d*)" % self.PF_Q_strip
         self.PF_QUEUE = self.element_strip(out, pattern)
-        self.PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
 
     def set_up(self):
         self.load_profile()