]> code.ossystems Code Review - openembedded-core.git/commit
automake: set test-driver path relative to top_builddir
authorMartin Borg <martin.borg@enea.com>
Thu, 25 Feb 2016 15:08:04 +0000 (16:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:38 +0000 (11:32 +0000)
commite9db0ae11d95f3c375b27d5c10606efd8b568fbf
tree6b056d15dedf96b617c9cd3bd4fa115a8f651436
parent11b0e7e1cb29fd1fbe06bdb5606a55b92ecdcc89
automake: set test-driver path relative to top_builddir

automake offers auxiliary tools and is capable to install and prepare the setup for those.
test-driver, a log driver used by parallel testsuite harness in ptests, is one of those tools.
By default it looks that automake prepare environment for testing relative $top_srcdir.
But in Yocto following changed:
 - build folder was separated
 - $top_srcdir is not anymore defined as relative path, now can be relative or absolute

So now in Yocto the Makefile from src/tests contains absolute path of $top_srcdir for test-driver
which is an unexisting path at runtime.

We need to have relative path for test-driver in Makefile to work on target. $top_builddir
can guarantee this path.

Originally submitted by Adrian Calianu <adrian.calianu@enea.com>

Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch [new file with mode: 0644]
meta/recipes-devtools/automake/automake_1.15.bb