From: Olivier Dion Date: Fri, 10 Mar 2023 18:17:46 +0000 (-0500) Subject: Tests: fix: parse-callback reports missing addr2line X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=40b2a4a793c81221a28f822d07135069456ea021;hp=40b2a4a793c81221a28f822d07135069456ea021;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 ---