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:
12
build-linux
12
build-linux
@@ -43,7 +43,7 @@ class LinuxComponent(common.Component):
|
||||
verbose = ['V=1']
|
||||
else:
|
||||
verbose = []
|
||||
assert common.run_cmd(
|
||||
common.run_cmd(
|
||||
[
|
||||
os.path.join(common.linux_src_dir, 'scripts', 'kconfig', 'merge_config.sh'),
|
||||
'-m',
|
||||
@@ -52,8 +52,8 @@ class LinuxComponent(common.Component):
|
||||
os.path.join(common.linux_config_dir, 'min'),
|
||||
os.path.join(common.linux_config_dir, 'default'),
|
||||
],
|
||||
) == 0
|
||||
assert common.run_cmd(
|
||||
)
|
||||
common.run_cmd(
|
||||
(
|
||||
[
|
||||
'make',
|
||||
@@ -65,8 +65,8 @@ class LinuxComponent(common.Component):
|
||||
]
|
||||
),
|
||||
**common_args,
|
||||
) == 0
|
||||
assert common.run_cmd(
|
||||
)
|
||||
common.run_cmd(
|
||||
(
|
||||
[
|
||||
'make',
|
||||
@@ -77,7 +77,7 @@ class LinuxComponent(common.Component):
|
||||
args.extra_make_args
|
||||
),
|
||||
**common_args,
|
||||
) == 0
|
||||
)
|
||||
|
||||
def get_argparse_args(self):
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user