mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
common.run_cmd: assert result == 0 by default
This commit is contained in:
@@ -22,7 +22,7 @@ class QemuComponent(common.Component):
|
||||
verbose = ['V=1']
|
||||
else:
|
||||
verbose = []
|
||||
assert common.run_cmd(
|
||||
common.run_cmd(
|
||||
[
|
||||
os.path.join(common.qemu_src_dir, 'configure'),
|
||||
'--enable-debug',
|
||||
@@ -34,8 +34,8 @@ class QemuComponent(common.Component):
|
||||
args.extra_config_args,
|
||||
extra_paths=[common.ccache_dir],
|
||||
cwd=build_dir
|
||||
) == 0
|
||||
assert common.run_cmd(
|
||||
)
|
||||
common.run_cmd(
|
||||
(
|
||||
[
|
||||
'make',
|
||||
@@ -46,7 +46,7 @@ class QemuComponent(common.Component):
|
||||
),
|
||||
cwd=build_dir,
|
||||
extra_paths=[common.ccache_dir],
|
||||
) == 0
|
||||
)
|
||||
|
||||
def get_build_dir(self, args):
|
||||
return common.qemu_build_dir
|
||||
|
||||
Reference in New Issue
Block a user