[gnome-continuous-yocto/gnomeostree-3.28-rocko: 520/8267] testexport.bbclass: Stop exporting test context
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 520/8267] testexport.bbclass: Stop exporting test context
- Date: Sat, 16 Dec 2017 20:32:31 +0000 (UTC)
commit 549f134970b0ba0ad06256d7514b4bea1419da27
Author: Mariano Lopez <mariano lopez linux intel com>
Date: 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]
(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>
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 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]