diff options
author | Martin Borg <martin.borg@enea.com> | 2016-02-25 16:08:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:03 +0000 |
commit | 5f82d17ac63f6d5b55f7b8d019c239620ab54596 (patch) | |
tree | f973ef675bf491b2db9da032ec00c54ea4fa8893 /meta/recipes-devtools/automake/automake_1.15.bb | |
parent | b41862d33488d77f3b7c1e897490ea5cb2a35f67 (diff) | |
download | poky-5f82d17ac63f6d5b55f7b8d019c239620ab54596.tar.gz |
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>
(From OE-Core rev: e9db0ae11d95f3c375b27d5c10606efd8b568fbf)
Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake/automake_1.15.bb')
-rw-r--r-- | meta/recipes-devtools/automake/automake_1.15.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.15.bb b/meta/recipes-devtools/automake/automake_1.15.bb index e3cb85b41a..85494b4af0 100644 --- a/meta/recipes-devtools/automake/automake_1.15.bb +++ b/meta/recipes-devtools/automake/automake_1.15.bb | |||
@@ -21,7 +21,8 @@ RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native" | |||
21 | SRC_URI += " file://python-libdir.patch \ | 21 | SRC_URI += " file://python-libdir.patch \ |
22 | file://py-compile-compile-only-optimized-byte-code.patch \ | 22 | file://py-compile-compile-only-optimized-byte-code.patch \ |
23 | file://buildtest.patch \ | 23 | file://buildtest.patch \ |
24 | file://performance.patch" | 24 | file://performance.patch \ |
25 | file://new_rt_path_for_test-driver.patch" | ||
25 | 26 | ||
26 | SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3" | 27 | SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3" |
27 | SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924" | 28 | SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924" |