From: Arnaud Giersch Date: Tue, 21 Jun 2011 09:37:19 +0000 (+0200) Subject: run-all: add parameter MORE_ARGS. X-Git-Tag: v0.1~45 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/7293f6c6fc7326ba742f655ffc79db045da285e8?hp=7de837372e9a6035625dac66185c9e4a02378d1b run-all: add parameter MORE_ARGS. --- diff --git a/Experimentations/run-all b/Experimentations/run-all index 350f05f..bf282cc 100755 --- a/Experimentations/run-all +++ b/Experimentations/run-all @@ -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\"." diff --git a/Experimentations/sample_parameters b/Experimentations/sample_parameters index 9019c88..bfa5d67 100644 --- a/Experimentations/sample_parameters +++ b/Experimentations/sample_parameters @@ -34,6 +34,9 @@ LOAD=1000 # time limit for the simulation DEADLINE=10000 +# optional: additional arguments for loba (default: empty) +#MORE_ARGS=( -r 42 -Z ) + # optional: path to binary (default: ./loba) #LOBA=./loba