[V1,1/2] framework/project_dpdk: drop the detailed errors when complie failed
Commit Message
the detailed compiled info is too long and will be saved
into log file, so there's no need to throw it in assert exception.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
framework/project_dpdk.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -314,7 +314,7 @@ class DPDKdut(Dut):
assert ("FAILED" not in out), "meson setup failed ..."
out = self.send_expect("ninja -C %s -j %d" % (target, self.number_of_cores), "# ", build_time)
- assert ("FAILED" not in out), "ninja complie failed ...\r\n %s" % out
+ assert ("FAILED" not in out), "ninja complie failed ..."
# copy kmod file to the folder same as make
out = self.send_expect("find ./%s/kernel/ -name *.ko" % target, "# ", verify=True)
@@ -555,9 +555,9 @@ class DPDKdut(Dut):
else:
example = '/'.join(folder_info[folder_info.index('examples')+1:])
out = self.send_expect("meson configure -Dexamples=%s %s" % (example, self.target), "# ")
- assert ("FAILED" not in out), "Compilation error... \r\n %s" % out
+ assert ("FAILED" not in out), "Compilation error..."
out = self.send_expect("ninja -C %s" % self.target, "# ", timeout)
- assert ("FAILED" not in out), "Compilation error... \r\n %s" % out
+ assert ("FAILED" not in out), "Compilation error..."
# verify the app build in the config path
if example != 'all':