[dts] [dts 5/6] tests/TestSuite_qos_meter.py:support meson build

lingwei weix.ling at intel.com
Wed Aug 26 12:15:21 CEST 2020


Signed-off-by: lingwei <weix.ling at intel.com>
---
 tests/TestSuite_qos_meter.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_qos_meter.py b/tests/TestSuite_qos_meter.py
index af15e0a..fa19312 100644
--- a/tests/TestSuite_qos_meter.py
+++ b/tests/TestSuite_qos_meter.py
@@ -78,7 +78,8 @@ class TestQosMeter(TestCase):
         self.verify("Error" not in out, "Compilation error")
         self.verify("No such" not in out, "Compilation error")
         eal_params = self.dut.create_eal_parameters(cores='1S/1C/1T', fixed_prefix=True, prefix='qos_meter')
-        cmd = './examples/qos_meter/build/qos_meter ' + eal_params + '-- -p 0x3'
+        app_name = self.dut.apps_name['qos_meter']
+        cmd = app_name + eal_params + '-- -p 0x3'
         self.dut.send_expect(cmd, "TX = 1")
         payload_size = 64 - HEADER_SIZE['eth'] - HEADER_SIZE['ip']
         dts_mac = self.dut.get_mac_address(self.dut_ports[self.rx_port])
-- 
2.17.1



More information about the dts mailing list