glibc: fix gprof lookup during gmon tests
PATCH 1/1 glibc: fix gprof lookup during gmon tests
From: Hemanth Kumar M D <[email protected]>
A few gmon tests were failing with the following error:
tst-gmon-gprof.sh: line 52: gprof: command not found
The test scripts look for 'gprof' binary, but the binaries are available at target-prefixed directory with an appended prefix of ${TARGET_PREFIX}. So, the binary should be ${TARGET_PREFIX}gprof
Testing results:
+--------------+---------+---------+-------+ | Result | Before | After | Diff | +--------------+---------+---------+-------+ | PASS | 6968 | 6972 | +4 | | XPASS | 4 | 4 | 0 | | FAIL | 46 | 42 | -4 | | XFAIL | 16 | 16 | 0 | | UNSUPPORTED | 103 | 103 | 0 | +--------------+---------+---------+-------+
Signed-off-by Hemanth Kumar M D <[email protected]>
Signed-off-by Deepesh Varatharajan <[email protected]>
--- meta/recipes-core/glibc/glibc-testsuite_2.42.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc-testsuite_2.42.bb +1 -0
@@ -21,6 +21,7 @@ do_check:append () { chmod 0755 ${UNPACKDIR}/check-test-wrapper oe_runmake -i \ + GPROF="${TARGET_PREFIX}gprof" \ QEMU_SYSROOT="${RECIPE_SYSROOT}" \ QEMU_OPTIONS="${@qemu_target_binary(d)} ${QEMU_OPTIONS}" \ SSH_HOST="${TOOLCHAIN_TEST_HOST}" \
Signature · 1 line
2.49.0