From: Arnout Vandecappelle Date: Sun, 9 Jul 2017 23:21:19 +0000 (+0200) Subject: support/testing: strip /usr/ part from HOST_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73e7bcdd87f72fb186c7f9bba11a44f93cf8c1a6;p=buildroot.git support/testing: strip /usr/ part from HOST_DIR Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/support/testing/infra/__init__.py b/support/testing/infra/__init__.py index a55ad7fdf5..27e2a2708d 100644 --- a/support/testing/infra/__init__.py +++ b/support/testing/infra/__init__.py @@ -55,7 +55,7 @@ def get_elf_arch_tag(builddir, prefix, fpath, tag): v5TEJ >>> """ - cmd = ["host/usr/bin/{}-readelf".format(prefix), + cmd = ["host/bin/{}-readelf".format(prefix), "-A", os.path.join("target", fpath)] out = subprocess.check_output(cmd, cwd=builddir, env={"LANG": "C"}) regexp = re.compile("^ {}: (.*)$".format(tag)) @@ -80,7 +80,7 @@ def get_elf_prog_interpreter(builddir, prefix, fpath): /lib/ld-linux-armhf.so.3 >>> """ - cmd = ["host/usr/bin/{}-readelf".format(prefix), + cmd = ["host/bin/{}-readelf".format(prefix), "-l", os.path.join("target", fpath)] out = subprocess.check_output(cmd, cwd=builddir, env={"LANG": "C"}) regexp = re.compile("^ *\[Requesting program interpreter: (.*)\]$")