[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] tests: dump config.log when configure fails in dock
From: |
Daniel P . Berrangé |
Subject: |
[Qemu-devel] [PATCH] tests: dump config.log when configure fails in docker job |
Date: |
Thu, 15 Feb 2018 17:16:11 +0000 |
When configure fails inside a docker job it is not easy to get access to
the config.log file. It is nicer for developers if we just splatter the
contents of config.log to stdout upon failure
Suggested-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrangé <address@hidden>
---
tests/docker/common.rc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 7951555e3f..ecbea13443 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -30,7 +30,8 @@ build_qemu()
$@"
echo "Configure options:"
echo $config_opts
- $QEMU_SRC/configure $config_opts && make $MAKEFLAGS
+ $QEMU_SRC/configure $config_opts || cat config.log
+ make $MAKEFLAGS
}
test_fail()
--
2.14.3
- [Qemu-devel] [PATCH] tests: dump config.log when configure fails in docker job,
Daniel P . Berrangé <=