commit | e68775b5d5f63042c1302cd1bf4a1cc6dab8e833 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Sep 27 21:25:23 2018 +0100 |
committer | Andrew Walbran <qwandor@google.com> | Fri Sep 28 15:52:28 2018 +0000 |
tree | 6ffc9e8964bdafa15d2c742ed2e4a7beb5be9e50 | |
parent | 19503266b6eaaa796db6ac699d1a9a503fec842c [diff] |
Make test script fail if unit tests fail. Change-Id: I68915ed092f1de571551c99552bf6a5c8139c4f2
diff --git a/kokoro/ubuntu/test.sh b/kokoro/ubuntu/test.sh index cb28a0d..1e74335 100755 --- a/kokoro/ubuntu/test.sh +++ b/kokoro/ubuntu/test.sh
@@ -5,6 +5,10 @@ # Fail on any error. set -e +# Fail on any part of a pipeline failing. +set -o pipefail +# Treat unset variables as an error +set -u # Display commands being run. set -x