summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/wic.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/wic.py')
-rw-r--r--meta/lib/oeqa/selftest/wic.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index c628b59bc2..a2ce2cb63e 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -29,13 +29,19 @@ from glob import glob
29from shutil import rmtree 29from shutil import rmtree
30 30
31from oeqa.selftest.base import oeSelfTest 31from oeqa.selftest.base import oeSelfTest
32from oeqa.utils.commands import runCmd 32from oeqa.utils.commands import runCmd, bitbake
33 33
34class Wic(oeSelfTest): 34class Wic(oeSelfTest):
35 """Wic test class.""" 35 """Wic test class."""
36 36
37 resultdir = "/var/tmp/wic/build/" 37 resultdir = "/var/tmp/wic/build/"
38 38
39 @classmethod
40 def setUpClass(cls):
41 """Build wic runtime dependencies and images used in the tests."""
42 bitbake('syslinux syslinux-native parted-native '
43 'dosfstools-native mtools-native core-image-minimal')
44
39 def setUp(self): 45 def setUp(self):
40 """This code is executed before each test method.""" 46 """This code is executed before each test method."""
41 rmtree(self.resultdir, ignore_errors=True) 47 rmtree(self.resultdir, ignore_errors=True)