Skip to content

Commit 96c64a0

Browse files
committed
Test/benchmark scripts: Use "set -euo pipefail", Bash's sort-of strict mode.
1 parent d7b5b8f commit 96c64a0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

run-bench

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#! /usr/bin/env bash
2+
set -euo pipefail
23

34
mvn_target_dir="target"
45

run-tests

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# ------------------------------------------------------------------------------
33
# A wrapper script for "mvn test". Primarily just for the help message.
44
# ------------------------------------------------------------------------------
5+
set -euo pipefail
56

67
if [ $# -eq 0 ]; then
78
cat <<END

0 commit comments

Comments
 (0)