From: Arnaud Giersch Date: Wed, 13 Jul 2011 16:29:05 +0000 (+0200) Subject: run-all: report error messages on failure. X-Git-Tag: v0.1~34 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/76b2a4bbaa94b3a5469a6d2443c8d4da9b4dd28b?ds=sidebyside;hp=--cc run-all: report error messages on failure. --- 76b2a4bbaa94b3a5469a6d2443c8d4da9b4dd28b diff --git a/Experimentations/run-all b/Experimentations/run-all index 5584528..638c0a5 100755 --- a/Experimentations/run-all +++ b/Experimentations/run-all @@ -115,8 +115,11 @@ for plat in "${PLATFORMS[@]}"; do log "skipped (dry-run)" else echo "# ${cmd[@]}" > "$out" - "${cmd[@]}" >> "$out" 2>&1 - summary "$out" + if "${cmd[@]}" >> "$out" 2>&1; then + summary "$out" + else + grep -v '/INFO\]' "$out" + fi fi done done