X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/d3914e4821cb9a186ec4c0a01d052fa5bcf48c9c..3a1185f2c9e5bc9c13c7d94c3c03cd45fb02f13e:/Experimentations/run-all?ds=sidebyside diff --git a/Experimentations/run-all b/Experimentations/run-all index 9453bc3..bf282cc 100755 --- a/Experimentations/run-all +++ b/Experimentations/run-all @@ -5,7 +5,7 @@ set -e usage() { cat >&2 < +Usage: $0 [OPTION] Options: -h print this help -n dry-run mode (for debugging) @@ -49,7 +49,7 @@ parameters="$1" log "Running: $0 $@" log "Hostname: $(hostname -f)" -declare -a TOPOLOGIES ALGORITHMS PLATFORMS COMMON_OPTS +declare -a TOPOLOGIES ALGORITHMS PLATFORMS COMMON_OPTS MORE_ARGS # read parameters log "Reading parameters from \"$1\"." @@ -68,6 +68,7 @@ variable_check DEADLINE COMMON_OPTS=( --cfg=contexts/factory:raw + "${MORE_ARGS[@]}" ) log "Results put in: \"$RESULTS\"." @@ -108,7 +109,7 @@ for plat in "${PLATFORMS[@]}"; do log "skipped (dry-run)" else echo "# ${cmd[@]}" > "$out" - "${cmd[@]}" > "$out" 2>&1 + "${cmd[@]}" >> "$out" 2>&1 tail -n4 "$out" fi done