summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/eSDK.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/eSDK.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/eSDK.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/eSDK.py b/meta/lib/oeqa/selftest/cases/eSDK.py
index d7aef93991..8e3a43d1c0 100644
--- a/meta/lib/oeqa/selftest/cases/eSDK.py
+++ b/meta/lib/oeqa/selftest/cases/eSDK.py
@@ -2,6 +2,7 @@ import tempfile
2import shutil 2import shutil
3import os 3import os
4import glob 4import glob
5import time
5from oeqa.core.decorator.oeid import OETestID 6from oeqa.core.decorator.oeid import OETestID
6from oeqa.selftest.case import OESelftestTestCase 7from oeqa.selftest.case import OESelftestTestCase
7from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars 8from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
@@ -95,6 +96,11 @@ SSTATE_MIRRORS = "file://.* file://%s/PATH"
95 96
96 @classmethod 97 @classmethod
97 def tearDownClass(cls): 98 def tearDownClass(cls):
99 for i in range(0, 10):
100 if os.path.exists(os.path.join(cls.tmpdir_eSDKQA, 'bitbake.lock')):
101 time.sleep(1)
102 else:
103 break
98 cls.tmpdirobj.cleanup() 104 cls.tmpdirobj.cleanup()
99 super().tearDownClass() 105 super().tearDownClass()
100 106