]> git.scottworley.com Git - pinch/blobdiff - test.sh
Factor out test setup
[pinch] / test.sh
diff --git a/test.sh b/test.sh
index 9823458496987f3695c5015936c54aaa558b92d4..9485418e5e9ecd33d4a7174deb255770113cf7d3 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -7,7 +7,9 @@ PARALLELISM=4
 find . -name '*.py' -print0 | xargs -0 mypy --strict --ignore-missing-imports
 
 for test in tests/*;do
-  "$test"
+  if [ ! -d "$test" ];then
+    "$test"
+  fi
 done
 
 find . -name '*_test.py' -print0 | xargs -0 -r -n1 python3