diff options
author | cajun-rat <phil@advancedtelematic.com> | 2018-01-19 11:35:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 11:35:49 +0100 |
commit | fd82d80f664b1b20e201d49c620ec954d1d30b3c (patch) | |
tree | 8119de7aaabf3b345d07a1b157d326b6b63afd8d /lib/oeqa/selftest/cases/updater.py | |
parent | 599717033068a1f33e965a48d56d2339b71af0c0 (diff) | |
parent | 44a4dd8e039ea16319f337c3881964759ada73a5 (diff) | |
download | meta-updater-fd82d80f664b1b20e201d49c620ec954d1d30b3c.tar.gz |
Merge pull request #233 from advancedtelematic/bugfix/PRO-4252/rocko-selftest-fixes
Fix some basic oe-selftest errors.
Diffstat (limited to 'lib/oeqa/selftest/cases/updater.py')
-rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 7d7bde7..253320d 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
@@ -13,6 +13,7 @@ class SotaToolsTests(OESelftestTestCase): | |||
13 | 13 | ||
14 | @classmethod | 14 | @classmethod |
15 | def setUpClass(cls): | 15 | def setUpClass(cls): |
16 | super(SotaToolsTests, cls).setUpClass() | ||
16 | logger = logging.getLogger("selftest") | 17 | logger = logging.getLogger("selftest") |
17 | logger.info('Running bitbake to build aktualizr-native tools') | 18 | logger.info('Running bitbake to build aktualizr-native tools') |
18 | bitbake('aktualizr-native') | 19 | bitbake('aktualizr-native') |
@@ -109,6 +110,7 @@ class QemuTests(OESelftestTestCase): | |||
109 | 110 | ||
110 | @classmethod | 111 | @classmethod |
111 | def setUpClass(cls): | 112 | def setUpClass(cls): |
113 | super(QemuTests, cls).setUpClass() | ||
112 | cls.qemu, cls.s = qemu_launch(machine='qemux86-64') | 114 | cls.qemu, cls.s = qemu_launch(machine='qemux86-64') |
113 | 115 | ||
114 | @classmethod | 116 | @classmethod |
@@ -140,7 +142,7 @@ class GrubTests(OESelftestTestCase): | |||
140 | def setUpLocal(self): | 142 | def setUpLocal(self): |
141 | # This is a bit of a hack but I can't see a better option. | 143 | # This is a bit of a hack but I can't see a better option. |
142 | path = os.path.abspath(os.path.dirname(__file__)) | 144 | path = os.path.abspath(os.path.dirname(__file__)) |
143 | metadir = path + "/../../../../" | 145 | metadir = path + "/../../../../../" |
144 | grub_config = 'OSTREE_BOOTLOADER = "grub"\nMACHINE = "intel-corei7-64"' | 146 | grub_config = 'OSTREE_BOOTLOADER = "grub"\nMACHINE = "intel-corei7-64"' |
145 | self.append_config(grub_config) | 147 | self.append_config(grub_config) |
146 | self.meta_intel = metadir + "meta-intel" | 148 | self.meta_intel = metadir + "meta-intel" |