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:42 +0100 |
commit | 920e9a4ac40bdd1923cbb63959af15f449d5323b (patch) | |
tree | 5b49292fff3b6d0bb995d7af4e68473b34ddc22f /meta/lib/oeqa | |
parent | e2170f22ed50a94d9969d4c29a2f9a92c3a9d67e (diff) | |
download | poky-920e9a4ac40bdd1923cbb63959af15f449d5323b.tar.gz |
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.
(From OE-Core rev: ca0a40a852abed981d54503ef2d86708471c821e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-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 @@ | |||
1 | import os, subprocess, unittest | 1 | import os, subprocess, unittest |
2 | import bb | 2 | import bb |
3 | from oeqa.sdk.case import OESDKTestCase | 3 | from oeqa.sdk.case import OESDKTestCase |
4 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | ||
5 | 4 | ||
6 | from oeqa.utils.subprocesstweak import errors_have_output | 5 | from oeqa.utils.subprocesstweak import errors_have_output |
7 | errors_have_output() | 6 | errors_have_output() |
@@ -62,7 +61,3 @@ class BuildAssimp(OESDKTestCase): | |||
62 | self.assertEqual(machine, elf.machine()) | 61 | self.assertEqual(machine, elf.machine()) |
63 | self.assertEqual(bits, elf.abiSize()) | 62 | self.assertEqual(bits, elf.abiSize()) |
64 | self.assertEqual(endian, elf.isLittleEndian()) | 63 | self.assertEqual(endian, elf.isLittleEndian()) |
65 | |||
66 | @classmethod | ||
67 | def tearDownClass(self): | ||
68 | self.project.clean() | ||