From: Evgeny Vereshchagin Date: Mon, 1 Feb 2021 12:40:57 +0000 (+0000) Subject: oss-fuzz: show meson logs X-Git-Tag: v248-rc1~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77591e97327d6fc47f27599ba1937629afb6dd13;p=thirdparty%2Fsystemd.git oss-fuzz: show meson logs It should help to make it more clear what causes issues like https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30140 and https://github.com/google/oss-fuzz/pull/5084 --- diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 491246b32ba..767da15f7c7 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -38,7 +38,11 @@ else fi fi -meson $build -D$fuzzflag -Db_lundef=false +if ! meson $build -D$fuzzflag -Db_lundef=false; then + cat $build/meson-logs/meson-log.txt + exit 1 +fi + ninja -v -C $build fuzzers # The seed corpus is a separate flat archive for each fuzzer,