diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-08-17 17:17:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-21 14:49:34 +0100 |
commit | ca0a40a852abed981d54503ef2d86708471c821e (patch) | |
tree | c043733562d160744980db65f41b19ad1d8d13cf /meta/lib | |
parent | 0053740c01f3ae49292a03686f2a6bad298d3af9 (diff) | |
download | openembedded-core-ca0a40a852abed981d54503ef2d86708471c821e.tar.gz openembedded-core-ca0a40a852abed981d54503ef2d86708471c821e.tar.bz2 openembedded-core-ca0a40a852abed981d54503ef2d86708471c821e.zip |
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/assimp.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/lib/oeqa/sdk/cases/assimp.py b/meta/lib/oeqa/sdk/cases/assimp.py index 7251bdf34e..26c1df089c 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() |