提交 0c153b4c 编写于 作者: P Philippe Mathieu-Daudé 提交者: Fam Zheng

docker: dump 'config.log' if ./configure fails

Suggested-by: NEric Blake <eblake@redhat.com>
Signed-off-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
Message-Id: <20180315142713.30960-1-f4bug@amsat.org>
Signed-off-by: NFam Zheng <famz@redhat.com>
上级 08e173f2
......@@ -30,7 +30,9 @@ build_qemu()
$@"
echo "Configure options:"
echo $config_opts
$QEMU_SRC/configure $config_opts && make $MAKEFLAGS
$QEMU_SRC/configure $config_opts || \
{ cat config.log && test_fail "Failed to run 'configure'"; }
make $MAKEFLAGS
}
test_fail()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册