summaryrefslogtreecommitdiff
path: root/tests/run_all_tests.sh
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-09-08 23:29:05 -0700
committerScott Gasch <[email protected]>2021-09-08 23:29:05 -0700
commit709370b2198e09f1dbe195fe8813602a3125b7f6 (patch)
tree5bbe521d7973f86526ed09d4411a5b3ff0e23aaa /tests/run_all_tests.sh
parentb10d30a46e601c9ee1f843241f2d69a1f90f7a94 (diff)
Add doctests to some of this stuff.
Diffstat (limited to 'tests/run_all_tests.sh')
-rwxr-xr-xtests/run_all_tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run_all_tests.sh b/tests/run_all_tests.sh
index c2f9f93..25365bb 100755
--- a/tests/run_all_tests.sh
+++ b/tests/run_all_tests.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+for doctest in $(grep -l doctest ../*.py); do
+ echo "------------------------- ${doctest} -------------------------"
+ python3 ${doctest}
+done
+
for test in $(ls *_test.py); do
if [ "${test}" != "parallelize_test.py" ]; then
echo "------------------------- ${test} -------------------------"