oeqa/selftest/esdk: Fix typo causing test failure

2018-12-06 23:19:24,564 - oe-selftest - INFO - Traceback (most recent call last):
  File "/media/build1/poky-sumo/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
    clss.setUpClassMethod()
  File "/media/build1/poky-sumo/meta/lib/oeqa/selftest/cases/eSDK.py", line 78, in setUpClass
    cls.tmpdir_eSDKQA = cls.tempdirobj.name
AttributeError: type object 'oeSDKExtSelfTest' has no attribute 'tempdirobj'

(From OE-Core rev: 75cd4edaa8a42f76c0594ce26df05c7a51d620df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2018-12-06 23:25:49 +00:00
parent 2cafee8620
commit 074cd4f22c

View File

@@ -75,7 +75,7 @@ CORE_IMAGE_EXTRA_INSTALL = "perl"
bb_vars = get_bb_vars(['SSTATE_DIR', 'WORKDIR'], cls.image)
bb.utils.mkdirhier(bb_vars["WORKDIR"])
cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
cls.tmpdir_eSDKQA = cls.tempdirobj.name
cls.tmpdir_eSDKQA = cls.tmpdirobj.name
oeSDKExtSelfTest.generate_eSDK(cls.image)