]> AND Private Git Repository - loba.git/blobdiff - Experimentations/run-all
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Quick hack in run-all: compress output files.
[loba.git] / Experimentations / run-all
index 5584528a48d3f5cef2a4d6438e57f3a2977b324a..6d556ec532a409ba6513d1a624ace8b40b1bcc37 100755 (executable)
@@ -115,8 +115,13 @@ for plat in "${PLATFORMS[@]}"; do
                     log "skipped (dry-run)"
                 else
                     echo "# ${cmd[@]}" > "$out"
                     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
+### FIXME : make this step optional
+gzip --best "$out"
                 fi
             done
         done
                 fi
             done
         done