selftest/eSDK.py: fix sstate dir not found error
cover selftest/eSDK.py: fix sstate dir not found error
The following changes since commit dbb247cac5fbf7b037e4955f9793828451723924:
bitbake: cookerdata: Convert multiconfig to use BB_CURRENT_MC (2016-12-22 12:36:40 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/eSDK-sstate_dir
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/eSDK-sstate_dir
Chen Qi (1):
selftest/eSDK.py: fix sstate dir not found error
meta/lib/oeqa/selftest/eSDK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH 1/1 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'
Signed-off-by Chen Qi <[email protected]>
--- meta/lib/oeqa/selftest/eSDK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/eSDK.py +1 -1
@@ -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()
Signature · 1 line
1.9.1