run-test.sh: exit immediately if any subcommands return non-zero value
This commit is contained in:
parent
a9a5bd6d28
commit
499c36fc87
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# exit if any subcommand return non-zero status
|
||||||
|
set -e
|
||||||
|
|
||||||
# Choose python version
|
# Choose python version
|
||||||
if test "x$1" = x-3; then
|
if test "x$1" = x-3; then
|
||||||
PYTHON=python3
|
PYTHON=python3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user