summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/oetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r--meta/lib/oeqa/oetest.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
index b886130d0e..a89bd117c0 100644
--- a/meta/lib/oeqa/oetest.py
+++ b/meta/lib/oeqa/oetest.py
@@ -106,7 +106,7 @@ class oeRuntimeTest(oeTest):
106 pass 106 pass
107 107
108 def tearDown(self): 108 def tearDown(self):
109 # Unistall packages in the DUT 109 # Uninstall packages in the DUT
110 self.tc.install_uninstall_packages(self.id(), False) 110 self.tc.install_uninstall_packages(self.id(), False)
111 111
112 res = getResults() 112 res = getResults()
@@ -546,7 +546,7 @@ class RuntimeTestContext(TestContext):
546 546
547 def install_uninstall_packages(self, test_id, pkg_dir, install): 547 def install_uninstall_packages(self, test_id, pkg_dir, install):
548 """ 548 """
549 Check if the test requires a package and Install/Unistall it in the DUT 549 Check if the test requires a package and Install/Uninstall it in the DUT
550 """ 550 """
551 551
552 test = test_id.split(".")[4] 552 test = test_id.split(".")[4]
@@ -559,7 +559,7 @@ class RuntimeTestContext(TestContext):
559 559
560 def _install_uninstall_packages(self, needed_packages, pkg_dir, install=True): 560 def _install_uninstall_packages(self, needed_packages, pkg_dir, install=True):
561 """ 561 """
562 Install/Unistall packages in the DUT without using a package manager 562 Install/Uninstall packages in the DUT without using a package manager
563 """ 563 """
564 564
565 if isinstance(needed_packages, dict): 565 if isinstance(needed_packages, dict):
@@ -577,7 +577,7 @@ class RuntimeTestContext(TestContext):
577 if install and extract: 577 if install and extract:
578 self.target.connection.copy_dir_to(src_dir, "/") 578 self.target.connection.copy_dir_to(src_dir, "/")
579 579
580 # Unistall package 580 # Uninstall package
581 elif not install and rm: 581 elif not install and rm:
582 self.target.connection.delete_dir_structure(src_dir, "/") 582 self.target.connection.delete_dir_structure(src_dir, "/")
583 583
@@ -600,7 +600,7 @@ class ImageTestContext(RuntimeTestContext):
600 600
601 def install_uninstall_packages(self, test_id, install=True): 601 def install_uninstall_packages(self, test_id, install=True):
602 """ 602 """
603 Check if the test requires a package and Install/Unistall it in the DUT 603 Check if the test requires a package and Install/Uninstall it in the DUT
604 """ 604 """
605 605
606 pkg_dir = self.d.getVar("TEST_EXTRACTED_DIR") 606 pkg_dir = self.d.getVar("TEST_EXTRACTED_DIR")
@@ -623,7 +623,7 @@ class ExportTestContext(RuntimeTestContext):
623 623
624 def install_uninstall_packages(self, test_id, install=True): 624 def install_uninstall_packages(self, test_id, install=True):
625 """ 625 """
626 Check if the test requires a package and Install/Unistall it in the DUT 626 Check if the test requires a package and Install/Uninstall it in the DUT
627 """ 627 """
628 628
629 export_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 629 export_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))