mirror of https://github.com/xemu-project/xemu.git
docker: dump 'config.log' if ./configure fails
Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20180315142713.30960-1-f4bug@amsat.org> Signed-off-by: Fam Zheng <famz@redhat.com>
This commit is contained in:
parent
08e173f294
commit
0c153b4c6f
|
@ -30,7 +30,9 @@ build_qemu()
|
||||||
$@"
|
$@"
|
||||||
echo "Configure options:"
|
echo "Configure options:"
|
||||||
echo $config_opts
|
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()
|
test_fail()
|
||||||
|
|
Loading…
Reference in New Issue