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] (From OE-Core rev: f4da3832a908f79e2d0d0a886adab0aeb5e37908) Signed-off-by: Mariano Lopez <mariano.lopez@linux.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:
parent
c358ab5d4c
commit
549f134970
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue