From 77591e97327d6fc47f27599ba1937629afb6dd13 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 1 Feb 2021 12:40:57 +0000 Subject: 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 --- tools/oss-fuzz.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/oss-fuzz.sh') diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 491246b32b..767da15f7c 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, -- cgit v1.2.1