diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2016-05-24 12:44:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-30 15:58:11 +0100 |
commit | 549f134970b0ba0ad06256d7514b4bea1419da27 (patch) | |
tree | 558aef14ac0889152aad493052f56c468f9a63eb /meta/classes/testexport.bbclass | |
parent | c358ab5d4c94bb3fce7753169b96e091ff4c83f4 (diff) | |
download | poky-549f134970b0ba0ad06256d7514b4bea1419da27.tar.gz |
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>
Diffstat (limited to 'meta/classes/testexport.bbclass')
-rw-r--r-- | meta/classes/testexport.bbclass | 4 |
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): | |||
43 | savedata = {} | 43 | savedata = {} |
44 | savedata["d"] = {} | 44 | savedata["d"] = {} |
45 | savedata["target"] = {} | 45 | savedata["target"] = {} |
46 | for key in tc.__dict__: | ||
47 | # special cases | ||
48 | if key not in ['d', 'target', 'suite']: | ||
49 | savedata[key] = getattr(tc, key) | ||
50 | savedata["target"]["ip"] = tc.target.ip or d.getVar("TEST_TARGET_IP", True) | 46 | savedata["target"]["ip"] = tc.target.ip or d.getVar("TEST_TARGET_IP", True) |
51 | savedata["target"]["server_ip"] = tc.target.server_ip or d.getVar("TEST_SERVER_IP", True) | 47 | savedata["target"]["server_ip"] = tc.target.server_ip or d.getVar("TEST_SERVER_IP", True) |
52 | 48 | ||