common.run_cmd: assert result == 0 by default

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-23 00:00:01 +00:00
parent 4cd9c533b8
commit 4b99e522dd
12 changed files with 81 additions and 74 deletions

View File

@@ -38,7 +38,7 @@ has the OpenBLAS libraries and headers installed.
allowed_toolchains = ['buildroot']
cc = common.get_toolchain_tool('gcc', allowed_toolchains=allowed_toolchains)
cxx = common.get_toolchain_tool('g++', allowed_toolchains=allowed_toolchains)
assert common.run_cmd(
common.run_cmd(
(
[
'make',
@@ -54,7 +54,7 @@ has the OpenBLAS libraries and headers installed.
),
cwd=common.userland_src_dir,
extra_paths=[common.ccache_dir],
) == 0
)
common.copy_dir_if_update_non_recursive(
srcdir=build_dir,
destdir=common.out_rootfs_overlay_dir,