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>
Tue, 6 Jun 2023 18:39:15 +0000 (14:39 -0400)
commitfd2b5c0de05df73c04b4281f2a27f558a17d1edb
treef68b97d819e6906df0d50c970037f5ade14703c6
parent887d5ddfd89a4f20f02c03c015c81c18ba261e6f
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.025307 seconds and 4 git commands to generate.