[dts] [dts 23/38] tests/TestSuite_skeleton.py: adapt to support both meson and makefile build
Zhou, Jun
junx.w.zhou at intel.com
Tue Sep 8 09:18:10 CEST 2020
From: Zhou jun <junx.w.zhou at intel.com>
Signed-off-by: Zhou jun <junx.w.zhou at intel.com>
---
tests/TestSuite_skeleton.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_skeleton.py b/tests/TestSuite_skeleton.py
index 38bc523..7ae19f6 100644
--- a/tests/TestSuite_skeleton.py
+++ b/tests/TestSuite_skeleton.py
@@ -55,8 +55,8 @@ class TestSkeleton(TestCase):
self.coremask = utils.create_mask(cores)
self.mac = self.dut.get_mac_address(self.dut_ports[0])
- self.path = "./examples/skeleton/build/basicfwd"
-
+ self.app_skeleton_path = self.dut.apps_name['skeleton']
+ self.path = "./%s/build/basicfwd" % self.app_skeleton_path
out = self.dut.build_dpdk_apps("./examples/skeleton")
self.verify("Error" not in out, "compilation error 1")
self.verify("No such file" not in out, "compilation error 2")
--
1.8.3.1
More information about the dts
mailing list