diff options
author | Dengke Du <dengke.du@windriver.com> | 2016-02-23 02:59:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:32:59 +0000 |
commit | 4e5a87171838c8b6c2cea591d7165bdc93e54734 (patch) | |
tree | 57a9dae59961202a554f9b0788e11514a3b4e044 /documentation/yocto-project-qs/yocto-project-qs-customization.xsl | |
parent | e8e04898379be93ef680ffb9195d2ad392b374e8 (diff) | |
download | poky-4e5a87171838c8b6c2cea591d7165bdc93e54734.tar.gz |
strace: fix ptest execution
When run the strace ptest on the target, the test files located in the "/usr/lib/strace/ptest/tests",
but the run-test script use the path "srcdir = ../../strace-*/tests"to find the necessary files, so it
can't find the necessary files, it fails. So change the variable srcdir, replace the strace-* to ptest
when do the do_install_ptest() function using the following:
sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
(From OE-Core rev: 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/yocto-project-qs/yocto-project-qs-customization.xsl')
0 files changed, 0 insertions, 0 deletions