]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/utils/commands.py: allow use of binaries from native sysroot
authorMaciej Borzecki <maciej.borzecki@rndity.com>
Mon, 19 Dec 2016 11:20:57 +0000 (12:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Dec 2016 08:50:16 +0000 (08:50 +0000)
commit5903182484276fec4d9ccbe7ad2c859e9588e5ba
treeeedefc780ce78ca9c9bb9b50377c93e8c9532103
parentba4aeb33a2dfb4ea0a5c06809be2305e0b1521d0
oeqa/utils/commands.py: allow use of binaries from native sysroot

Tests may need to run a native tool that is not available on the host
filesystem, but can be built using one of the *-native recipes. In such case,
the tool will be available in native sysroot, and running in from that location
will require adjustments to PATH.

runCmd() can now take a path to native sysroot as one of its arguments and
setup PATH accordingly.

(From OE-Core rev: f2a04631949db72d4261d1c142c5044fad3741f9)

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/commands.py