summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-08-17 17:17:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-21 14:49:42 +0100
commit920e9a4ac40bdd1923cbb63959af15f449d5323b (patch)
tree5b49292fff3b6d0bb995d7af4e68473b34ddc22f /meta/lib/oeqa
parente2170f22ed50a94d9969d4c29a2f9a92c3a9d67e (diff)
downloadpoky-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.py5
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 @@
1import os, subprocess, unittest 1import os, subprocess, unittest
2import bb 2import bb
3from oeqa.sdk.case import OESDKTestCase 3from oeqa.sdk.case import OESDKTestCase
4from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
5 4
6from oeqa.utils.subprocesstweak import errors_have_output 5from oeqa.utils.subprocesstweak import errors_have_output
7errors_have_output() 6errors_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()