Skip to content

Commit

Permalink
Exit on benchmark error
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Oct 28, 2021
1 parent c4d908d commit dbe4a1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/benchmark-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ remove_benchmark_operator() {
############################################################################
run_benchmark() {
source ${ripsaw_tmp}/bin/activate
set -e
ripsaw benchmark run -f ${1} -t ${2}
set +e
deactivate
}

0 comments on commit dbe4a1a

Please sign in to comment.