summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/testexport.bbclass
diff options
context:
space:
mode:
authorThomas Roos <throos@amazon.de>2023-05-17 16:36:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-29 10:57:27 +0100
commitf82c3bd37d62a3efc49fd33efa38a7f523e6c676 (patch)
treeaf91e742b938e4116a5082bfb9351dba83616cca /meta/classes-recipe/testexport.bbclass
parent303421dce02fec67daab0dc86d85e11963d5741f (diff)
downloadpoky-f82c3bd37d62a3efc49fd33efa38a7f523e6c676.tar.gz
testimage/oeqa: Drop testimage_dump_host functionality
The intent behind these functions was to dump the system state when issues occured but it has never really worked as we'd planned. Regular monitoring as the build runs has largely replaced this as that allows a trend to be seen rather than a spot value which was never really useful. The code is bitrotting and not functioning correctly so drop it. [YOCTO #13872] RP: Reword commit message (From OE-Core rev: dea37ba49a236029da73d5cfbfc069bffc38b508) Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/testexport.bbclass')
-rw-r--r--meta/classes-recipe/testexport.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes-recipe/testexport.bbclass b/meta/classes-recipe/testexport.bbclass
index 0f0c56107f..572f5d9e76 100644
--- a/meta/classes-recipe/testexport.bbclass
+++ b/meta/classes-recipe/testexport.bbclass
@@ -61,16 +61,12 @@ def testexport_main(d):
61 d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"), 61 d.getVar("TEST_TARGET"), None, d.getVar("TEST_TARGET_IP"),
62 d.getVar("TEST_SERVER_IP")) 62 d.getVar("TEST_SERVER_IP"))
63 63
64 host_dumper = OERuntimeTestContextExecutor.getHostDumper(
65 d.getVar("testimage_dump_host"), d.getVar("TESTIMAGE_DUMP_DIR"))
66
67 image_manifest = "%s.manifest" % image_name 64 image_manifest = "%s.manifest" % image_name
68 image_packages = OERuntimeTestContextExecutor.readPackagesManifest(image_manifest) 65 image_packages = OERuntimeTestContextExecutor.readPackagesManifest(image_manifest)
69 66
70 extract_dir = d.getVar("TEST_EXTRACTED_DIR") 67 extract_dir = d.getVar("TEST_EXTRACTED_DIR")
71 68
72 tc = OERuntimeTestContext(td, logger, target, host_dumper, 69 tc = OERuntimeTestContext(td, logger, target, image_packages, extract_dir)
73 image_packages, extract_dir)
74 70
75 copy_needed_files(d, tc) 71 copy_needed_files(d, tc)
76 72