commit 460268407f7935d9060ca8fb8bd5a068cc07a2ca parent c0cf53789d23a4c3e3ab47e42eafb370d06a9f50 Author: nolash <dev@holbrook.no> Date: Mon, 28 Jun 2021 10:08:47 +0200 Add testrunner sccript Diffstat:
A | python/run_tests.sh | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/python/run_tests.sh b/python/run_tests.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e +set -x +for f in `ls tests/*.py`; do + python $f + if [ $? -gt 0 ]; then + exit 1 + fi +done +set +x +set +e