[oe-commits] [openembedded-core] 13/56: testexport.bbclass: Stop exporting test context

git at git.openembedded.org git at git.openembedded.org
Mon May 30 08:38:36 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f4da3832a908f79e2d0d0a886adab0aeb5e37908
Author: Mariano Lopez <mariano.lopez at linux.intel.com>
AuthorDate: Tue May 24 12:44:10 2016 +0000

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/testexport.bbclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass
index 0aac030..e06c668 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)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list