diff mbox series

[05/15] tests/TestSuite_unit_tests_kni:update to support meson build

Message ID 20200903082839.30213-6-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers show
Series support meson build method | expand

Commit Message

Chen, LingliX Sept. 3, 2020, 8:28 a.m. UTC
Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_kni.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_unit_tests_kni.py b/tests/TestSuite_unit_tests_kni.py
index ecf412b..abf8a80 100644
--- a/tests/TestSuite_unit_tests_kni.py
+++ b/tests/TestSuite_unit_tests_kni.py
@@ -90,7 +90,8 @@  class TestUnitTestsKni(TestCase):
         Run kni autotest.
         """
         eal_params = self.dut.create_eal_parameters(cores=self.cores)
-        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
+        app_name = self.dut.apps_name['test']
+        self.dut.send_expect(app_name + eal_params,"R.*T.*E.*>.*>", 60)        
         out = self.dut.send_expect("kni_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")