From 7293f6c6fc7326ba742f655ffc79db045da285e8 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 21 Jun 2011 11:37:19 +0200 Subject: [PATCH] run-all: add parameter MORE_ARGS. --- Experimentations/run-all | 3 ++- Experimentations/sample_parameters | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5