]> code.ossystems Code Review - openembedded-core.git/commit
oprofile: Add PTEST regression testing to oprofile
authorChong Lu <Chong.Lu@windriver.com>
Fri, 6 Jun 2014 01:25:10 +0000 (09:25 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jun 2014 16:23:57 +0000 (17:23 +0100)
commitac5a9835075a04726a64dbd669b9c89270b23865
tree42b3fdb5a9710fd4606c858edeaaa70b66c440a7
parent20f749de439aa962f32a3f4f5977fd44c9e76e33
oprofile: Add PTEST regression testing to oprofile

The commit changes the oe-core oprofile recipe by adding the PTEST
interface, implementing do_compile_ptest() and do_install_ptest().

The install routine adds several files that only the regression tests
require. Also, a patch is necessary to inhibit executing the tests on
the build host and to point to the correct target directory for the
libutil++ test 'file-manip-tests'.

That test requires the recipe to set SRCDIR in the build environment
instead of determining the value from build-time host paths as for a
self-hosted build.

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-kernel/oprofile/oprofile.inc
meta/recipes-kernel/oprofile/oprofile/oprofile-cross-compile-tests.patch [new file with mode: 0644]
meta/recipes-kernel/oprofile/oprofile/run-ptest [new file with mode: 0644]