run-test.sh: exit immediately if any subcommands return non-zero value

This commit is contained in:
Cosimo Lupo 2015-12-11 16:10:51 +00:00
parent a9a5bd6d28
commit 499c36fc87

View File

@ -1,5 +1,8 @@
#!/bin/sh
# exit if any subcommand return non-zero status
set -e
# Choose python version
if test "x$1" = x-3; then
PYTHON=python3