提交 f5cd5bf5 编写于 作者: C Cleber Rosa

examples/tests/linuxbuild.py: update to latest 3.x kernel

And let's use a generated config by default, that is, let's drop the
custom config file we ship with the test.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 8c3588f4
......@@ -38,7 +38,7 @@ class KernelBuild(object):
"""
Creates an instance of :class:`KernelBuild`.
:param version: kernel version ("3.14.5").
:param version: kernel version ("3.19.8").
:param config_path: path to config file.
:param work_dir: work directory.
:return: None.
......@@ -94,7 +94,7 @@ class KernelBuild(object):
build.make(self.linux_dir, extra_args='defconfig')
else:
build.make(self.linux_dir, extra_args='olddefconfig')
build.make(self.linux_dir, extra_args='bzImage')
build.make(self.linux_dir)
def __del__(self):
shutil.rmtree(self.work_dir)
......@@ -15,8 +15,8 @@ class LinuxBuildTest(Test):
"""
def setUp(self):
kernel_version = self.params.get('linux_version', default='3.14.5')
linux_config = self.params.get('linux_config', default='config')
kernel_version = self.params.get('linux_version', default='3.19.8')
linux_config = self.params.get('linux_config', default=None)
config_path = self.get_data_path(linux_config)
self.linux_build = kernel_build.KernelBuild(kernel_version,
config_path,
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册