X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/7c4de64c46013216cfef1d7fb34878b317a11ab6..d3c5fb43ce904730019c6ab7806d367d928b2eb5:/test.sh?ds=sidebyside diff --git a/test.sh b/test.sh index fed0065..942c65c 100755 --- a/test.sh +++ b/test.sh @@ -9,6 +9,7 @@ find . -name build -prune -o -name dist -prune -o -name '*.py' -print0 | for test in tests/*;do if [ ! -d "$test" ];then + echo "### Running test $test" >&2 "$test" fi done @@ -23,7 +24,7 @@ if [ "$1" = lint ];then find . -name '*.py' -print0 | xargs -P "$PARALLELISM" -0 -n1 autopep8 --diff -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ) - if [[ "$formatting_needs_fixing" ]];then + if [ -n "$formatting_needs_fixing" ];then echo "Formatting needs fixing:" echo "$formatting_needs_fixing" exit 1