mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
meta: remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d5e67725ac
commit
c4e2c59088
@@ -54,8 +54,8 @@ def testsdk_main(d):
|
||||
import subprocess
|
||||
from oeqa.oetest import SDKTestContext
|
||||
|
||||
pn = d.getVar("PN", True)
|
||||
bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR", True))
|
||||
pn = d.getVar("PN")
|
||||
bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR"))
|
||||
|
||||
tcname = d.expand("${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh")
|
||||
if not os.path.exists(tcname):
|
||||
@@ -100,12 +100,12 @@ def testsdkext_main(d):
|
||||
|
||||
# extensible sdk can be contaminated if native programs are
|
||||
# in PATH, i.e. use perl-native instead of eSDK one.
|
||||
paths_to_avoid = [d.getVar('STAGING_DIR', True),
|
||||
d.getVar('BASE_WORKDIR', True)]
|
||||
paths_to_avoid = [d.getVar('STAGING_DIR'),
|
||||
d.getVar('BASE_WORKDIR')]
|
||||
os.environ['PATH'] = avoid_paths_in_environ(paths_to_avoid)
|
||||
|
||||
pn = d.getVar("PN", True)
|
||||
bb.utils.mkdirhier(d.getVar("TEST_LOG_SDKEXT_DIR", True))
|
||||
pn = d.getVar("PN")
|
||||
bb.utils.mkdirhier(d.getVar("TEST_LOG_SDKEXT_DIR"))
|
||||
|
||||
tcname = d.expand("${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh")
|
||||
if not os.path.exists(tcname):
|
||||
|
||||
Reference in New Issue
Block a user