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 <hemanth.250302@gmail.com>
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}" \