aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/common.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker/common.rc')
-rwxr-xr-xtests/docker/common.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 7951555e3f..046f8a5921 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -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()