@@ -7,6 +7,9 @@
7# USE_GAUGE: whether to use gauge or tasty-bench
7# USE_GAUGE: whether to use gauge or tasty-bench
8# LONG: whether to use a large stream size
8# LONG: whether to use a large stream size
10# $1: message
13# $1: message
12 >&2 echo -e "Error: $1"
15 >&2 echo -e "Error: $1"
@@ -183,9 +186,9 @@ then
183 # XXX this is a hack to make the "/" separated names used in the functions
186 # XXX this is a hack to make the "/" separated names used in the functions
184 # determining options based on benchmark name. For tasty-bench the benchmark
187 # determining options based on benchmark name. For tasty-bench the benchmark
185 # names are separated by "." instead of "/".
188 # names are separated by "." instead of "/".
186− BENCH_NAME=$(echo $BENCH_NAME_ORIG | sed -e s/^All\.//)
189+ BENCH_NAME0=$(echo $BENCH_NAME_ORIG | sed -e s/^All\.//)
187− BENCH_NAME1=$(echo $BENCH_NAME | cut -f1 -d '/')
190+ BENCH_NAME1=$(echo $BENCH_NAME0 | cut -f1 -d '/')
188− BENCH_NAME2=$(echo $BENCH_NAME | cut -f2- -d '/' | sed -e 's/\./\//g')
191+ BENCH_NAME2=$(echo $BENCH_NAME0 | cut -f2- -d '/' | sed -e 's/\./\//g')
189 BENCH_NAME="$BENCH_NAME1/$BENCH_NAME2"
192 BENCH_NAME="$BENCH_NAME1/$BENCH_NAME2"
191 BENCH_NAME=$BENCH_NAME_ORIG
194 BENCH_NAME=$BENCH_NAME_ORIG
@@ -219,7 +222,7 @@ then
219 STREAM_SIZE_OPT="--stream-size $STREAM_SIZE"
222 STREAM_SIZE_OPT="--stream-size $STREAM_SIZE"
222−echo "$BENCH_NAME: \
225+echo "$BENCH_NAME_ORIG: \
223$RTS_OPTIONS \
226$RTS_OPTIONS \
224$STREAM_LEN \
227$STREAM_LEN \
225$QUICK_BENCH_OPTIONS" \
228$QUICK_BENCH_OPTIONS" \