[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4004/8267] selftest/eSDK.py: fix sstate dir not found error
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4004/8267] selftest/eSDK.py: fix sstate dir not found error
- Date: Sun, 17 Dec 2017 01:25:40 +0000 (UTC)
commit 9a1e8b9cf5769a96ea4260c9d3eec9d12406875e
Author: Chen Qi <Qi Chen windriver com>
Date: Thu Jan 5 13:03:28 2017 +0800
selftest/eSDK.py: fix sstate dir not found error
Fix the error below when SSTATE_DIR is not "${BUILDDIR}/sstate-cache".
FileNotFoundError: [Errno 2] No such file or directory: '/xxx/../sstate-cache'
(From OE-Core rev: 785f0343d04c1684363b5289a3012cf7e1caa95f)
Signed-off-by: Chen Qi <Qi Chen windriver com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/selftest/eSDK.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/lib/oeqa/selftest/eSDK.py b/meta/lib/oeqa/selftest/eSDK.py
index 9d5c680..b43a452 100644
--- a/meta/lib/oeqa/selftest/eSDK.py
+++ b/meta/lib/oeqa/selftest/eSDK.py
@@ -55,7 +55,7 @@ class oeSDKExtSelfTest(oeSelfTest):
@classmethod
def setUpClass(cls):
# Start to serve sstate dir
- sstate_dir = os.path.join(os.environ['BUILDDIR'], 'sstate-cache')
+ sstate_dir = get_bb_var('SSTATE_DIR')
cls.http_service = HTTPService(sstate_dir)
cls.http_service.start()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]