Tests: fix: parse-callback reports missing addr2line
authorOlivier Dion <odion@efficios.com>
Fri, 10 Mar 2023 18:17:46 +0000 (13:17 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 31 May 2023 21:24:18 +0000 (17:24 -0400)
commitf698787457c406e85957b4ac2defe2f8d9634a42
tree1e14b6fd7438d8564e5bf2a00884462e3c33a1d7
parentbc1f87ff76fb31839ce8e4fd224d451bd368c21b
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 <odion@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/parse-callstack.py
This page took 0.025031 seconds and 4 git commands to generate.