[oe-commits] [openembedded-core] 17/20: assimp.py: fix AttributeError in tearDownClass
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 21 13:53:36 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit ca0a40a852abed981d54503ef2d86708471c821e
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Fri Aug 17 17:17:14 2018 +0800
assimp.py: fix AttributeError in tearDownClass
When running this test case, we will see the following error.
AttributeError: type object 'BuildAssimp' has no attribute 'project'
assimp.py test case does not make use of SDKBuildProject, so remove
the import statement and the tearDownClass.
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/sdk/cases/assimp.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/meta/lib/oeqa/sdk/cases/assimp.py b/meta/lib/oeqa/sdk/cases/assimp.py
index 7251bdf..26c1df0 100644
--- a/meta/lib/oeqa/sdk/cases/assimp.py
+++ b/meta/lib/oeqa/sdk/cases/assimp.py
@@ -1,7 +1,6 @@
import os, subprocess, unittest
import bb
from oeqa.sdk.case import OESDKTestCase
-from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
from oeqa.utils.subprocesstweak import errors_have_output
errors_have_output()
@@ -62,7 +61,3 @@ class BuildAssimp(OESDKTestCase):
self.assertEqual(machine, elf.machine())
self.assertEqual(bits, elf.abiSize())
self.assertEqual(endian, elf.isLittleEndian())
-
- @classmethod
- def tearDownClass(self):
- self.project.clean()
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list