From: Olivier Dion Date: Fri, 10 Mar 2023 18:17:46 +0000 (-0500) Subject: Tests: fix: parse-callback reports missing addr2line X-Git-Tag: v2.13.10~8 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=f698787457c406e85957b4ac2defe2f8d9634a42;hp=f698787457c406e85957b4ac2defe2f8d9634a42;p=lttng-tools.git Tests: fix: parse-callback reports missing addr2line addr2line from binutils is required for this script to work correctly. However, it silently fails. Fix this by using `subprocess.run' with `check=True' instead of `subprocess.getoutput'. That way, an exception is raised if an error occurs. Fix the shebang by not assuming where python is installed while at it. Change-Id: I5157b3dbccf6bfbe08a6b6840b38f5db9010fe96 Signed-off-by: Olivier Dion Signed-off-by: Jérémie Galarneau ---