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>
Thu, 16 Mar 2023 15:00:40 +0000 (11:00 -0400)
commit40b2a4a793c81221a28f822d07135069456ea021
treecd338b83fc71eb19f926fdcd4c2f5632838c9472
parent9fdee7baa566d3424e0d4474d5b78aac08f4456d
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.025694 seconds and 4 git commands to generate.