summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 23:45:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 23:39:00 +0000
commit7fa6eeba1c1e4667820c8543343083fad75cabee (patch)
tree1f1c38bf800d5b8aacf00586cb3ce5145109d4f5 /meta/classes/testimage.bbclass
parent252e64550a77b8e4a452d4f124bb8b378054d4de (diff)
downloadpoky-7fa6eeba1c1e4667820c8543343083fad75cabee.tar.gz
classes/lib: Add expand parameter to getVarFlag
This sets the scene for removing the default False for expansion from getVarFlag. This would later allow True to become the default. On the most part this is an automatic translation with: sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, True):g' -i `grep -ril getVar *` In this case, the default was False, but True was used since in most cases here expansion would be expected. (From OE-Core rev: 42a10788e89b07b14a150ced07113566cf99fcdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 37af46f3e8..3986340f46 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -194,7 +194,7 @@ def exportTests(d,tc):
194 savedata["target"]["server_ip"] = tc.target.server_ip or d.getVar("TEST_SERVER_IP", True) 194 savedata["target"]["server_ip"] = tc.target.server_ip or d.getVar("TEST_SERVER_IP", True)
195 195
196 keys = [ key for key in d.keys() if not key.startswith("_") and not key.startswith("BB") \ 196 keys = [ key for key in d.keys() if not key.startswith("_") and not key.startswith("BB") \
197 and not key.startswith("B_pn") and not key.startswith("do_") and not d.getVarFlag(key, "func")] 197 and not key.startswith("B_pn") and not key.startswith("do_") and not d.getVarFlag(key, "func", True)]
198 for key in keys: 198 for key in keys:
199 try: 199 try:
200 savedata["d"][key] = d.getVar(key, True) 200 savedata["d"][key] = d.getVar(key, True)