]> code.ossystems Code Review - openembedded-core.git/commitdiff
meson: don't dump full error log on failure
authorRoss Burton <ross.burton@intel.com>
Tue, 31 Jul 2018 17:05:40 +0000 (18:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Aug 2018 08:30:06 +0000 (09:30 +0100)
If the configure fails then we don't really want to see hundreds of lines of
test output (this would be similar to dumping out autoconf's config.log).  The
error includes the path of the full log if further debugging is required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/meson.bbclass

index 66c44e8bb23c3265d0b49e95fa19002047a49286..e3b452786d8efa679d97c5ab71dc73d8cfb554e1 100644 (file)
@@ -101,7 +101,6 @@ CONFIGURE_FILES = "meson.build"
 meson_do_configure() {
     bbnote Executing meson ${EXTRA_OEMESON}...
     if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" ${MESON_CROSS_FILE} ${EXTRA_OEMESON}; then
-        cat ${B}/meson-logs/meson-log.txt
         bbfatal_log meson failed
     fi
 }