@@ -164,7 +164,8 @@ invoke_gauge () {
164 $target_prog -l \
164 $target_prog -l \
165 | grep "^$MATCH" \
165 | grep "^$MATCH" \
166 | while read -r name; \
166 | while read -r name; \
167− do bin/bench-exec-one.sh "$name" "${GAUGE_ARGS[@]}"; done
167+ do bin/bench-exec-one.sh "$name" "${GAUGE_ARGS[@]}" || exit 1; done \
168+ || die "Benchmark execution failed."
170invoke_tasty_bench () {
171invoke_tasty_bench () {
@@ -188,7 +189,8 @@ invoke_tasty_bench () {
188 $target_prog -l $MATCH \
189 $target_prog -l $MATCH \
189 | grep "^All" \
190 | grep "^All" \
190 | while read -r name; \
191 | while read -r name; \
191− do bin/bench-exec-one.sh "$name" "${GAUGE_ARGS[@]}"; done
192+ do bin/bench-exec-one.sh "$name" "${GAUGE_ARGS[@]}" || exit 1; done \
193+ || die "Benchmark execution failed."
194run_bench_target () {
196run_bench_target () {