]> code.ossystems Code Review - openembedded-core.git/commit
util-linux-ptest: various fixes
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 18 Oct 2017 23:55:13 +0000 (16:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Nov 2017 13:54:46 +0000 (13:54 +0000)
commitf5198af37a5357a1758b50668b67f1c552982507
tree88bfac0c5148c635e82f99439aee4c1f2f570125
parent13851100b81ce901069ef167d6b9b0faedb3f466
util-linux-ptest: various fixes

The original code enabled only a sub-set of all available tests.
It also copied executables to be tested into a local folder although
the executables were expected to be already installed in the image.
In addition, the original code copied libtool scripts instead of already
cross-compiled images.

This patch modifies some test scripts so there is no need to copy
images already installed: instead it tests images already installed.
As the executables are scattered in /bin, usr/bin, /sbin/ usr/sbin folders,
we use 'which' to determine the absolute path.
We also copy some cross-compiled tests that were previously missing.

By the virtue of not copying the libtools scripts we also managed
the achieve binary reproducible package, as previously leaked build host
info was contained in libtool scripts, which are not copied anymore.

[YOCTO #10953]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/util-linux/util-linux.inc