mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
oeqa/oetest: Fix SDK command execution
The SDK environment wasn't being sourced when running these test commands, meaning in some cases the cross compiler was being tested, not the SDK tools. This is clearly not the intent so fix this by ensuring the SDK environment is present. This fixes test failures in multilib SDKs. (From OE-Core rev: 39c56f7c280cfe6bf40ea9145f3f7060b565bc62) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5d4f39f258
commit
09af262045
|
@ -216,7 +216,7 @@ class oeSDKTest(oeTest):
|
|||
return False
|
||||
|
||||
def _run(self, cmd):
|
||||
return subprocess.check_output(cmd, shell=True)
|
||||
return subprocess.check_output(". %s; " % self.tc.sdkenv + cmd, shell=True)
|
||||
|
||||
def getmodule(pos=2):
|
||||
# stack returns a list of tuples containg frame information
|
||||
|
|
Loading…
Reference in New Issue
Block a user