leveldir

Multi-level directory structure data stores in python3
git clone git://git.defalsify.org/python-leveldir.git
Log | Files | Refs | LICENSE

commit d814fca7797204b300352f108ef42a5641d11be4
parent 81dbeacd27385eabdd1270c37c2cb74b390459c3
Author: nolash <dev@holbrook.no>
Date:   Sun, 27 Jun 2021 10:17:10 +0200

Exit on first error in run tests script

Diffstat:
Mrun_tests.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/run_tests.sh b/run_tests.sh @@ -1,8 +1,13 @@ #!/bin/bash +set +e set +x export PYTHONPATH=. for f in `ls tests/*.py`; do python $f + if [ $? -gt 0 ]; then + exit 1 + fi done set -x +set -e