summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2016-05-24 12:44:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-30 09:30:30 +0100
commitf4da3832a908f79e2d0d0a886adab0aeb5e37908 (patch)
tree76e6fe87ec106c8b552a185fa6cd0a0fd455a427 /meta/classes
parent04a2ae65d3d98b9f33ab4bd8372676ad1e1de6d2 (diff)
downloadopenembedded-core-f4da3832a908f79e2d0d0a886adab0aeb5e37908.tar.gz
openembedded-core-f4da3832a908f79e2d0d0a886adab0aeb5e37908.tar.bz2
openembedded-core-f4da3832a908f79e2d0d0a886adab0aeb5e37908.zip
testexport.bbclass: Stop exporting test context
Because runexported.py instance an ExportTestContext object, there is no need to export the data in to reconstruct the object based in a dummy class. [YOCTO #8478] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/testexport.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass
index 0aac030931..e06c668280 100644
--- a/meta/classes/testexport.bbclass
+++ b/meta/classes/testexport.bbclass
@@ -43,10 +43,6 @@ def exportTests(d,tc):
savedata = {}
savedata["d"] = {}
savedata["target"] = {}
- for key in tc.__dict__:
- # special cases
- if key not in ['d', 'target', 'suite']:
- savedata[key] = getattr(tc, key)
savedata["target"]["ip"] = tc.target.ip or d.getVar("TEST_TARGET_IP", True)
savedata["target"]["server_ip"] = tc.target.server_ip or d.getVar("TEST_SERVER_IP", True)