@@ -61,7 +61,7 @@ python check_prepare() {
return "\n".join(content)
for i in ["binutils", "gas", "ld"]:
- builddir = os.path.join(d.getVar("B"), i)
+ builddir = os.path.join(d.getVar("B"), i, "testsuite")
if not os.path.isdir(builddir):
os.makedirs(builddir)
with open(os.path.join(builddir, "site.exp"), "w") as f:
@@ -70,13 +70,13 @@ python check_prepare() {
CHECK_TARGETS ??= "binutils gas ld"
-do_check[dirs] = "${B} ${B}/binutils ${B}/gas ${B}/ld"
+do_check[dirs] = "${B} ${B}/binutils/testsuite ${B}/gas/testsuite ${B}/ld/testsuite"
do_check[prefuncs] += "check_prepare"
do_check[nostamp] = "1"
do_check() {
export LC_ALL=C
for i in ${CHECK_TARGETS}; do
- (cd ${B}/$i; runtest \
+ (cd ${B}/$i/testsuite; runtest \
--tool $i \
--srcdir ${S}/$i/testsuite \
--ignore 'plugin.exp' \
The tests expect to be ran inside the testsuite directory, which means some tests fail because files cannot be found. This fixes the tests: ptestresult.binutils-gas.DWARF5 .loc 0 ptestresult.binutils-gas.DWARF5 dir[0] Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)