Loading build-and-test-py-project.sh +5 −2 Original line number Diff line number Diff line Loading @@ -35,9 +35,12 @@ if [ -d test ]; then TESTABLES="$TESTABLES ${RST_FILES[*]}" fi # macOS bash is too old for mapfile: Oh well, no doctests on mac. if [ "$(uname)" != "Darwin" ]; then mapfile -t DOCTEST_MODULES < <( git grep -l doctest -- ":(glob,top)$AK_PROJ_NAME/**/*.py" ) TESTABLES="$TESTABLES ${DOCTEST_MODULES[@]}" fi fi if [[ -n "$TESTABLES" ]]; then echo "TESTABLES: $TESTABLES" Loading Loading
build-and-test-py-project.sh +5 −2 Original line number Diff line number Diff line Loading @@ -35,9 +35,12 @@ if [ -d test ]; then TESTABLES="$TESTABLES ${RST_FILES[*]}" fi # macOS bash is too old for mapfile: Oh well, no doctests on mac. if [ "$(uname)" != "Darwin" ]; then mapfile -t DOCTEST_MODULES < <( git grep -l doctest -- ":(glob,top)$AK_PROJ_NAME/**/*.py" ) TESTABLES="$TESTABLES ${DOCTEST_MODULES[@]}" fi fi if [[ -n "$TESTABLES" ]]; then echo "TESTABLES: $TESTABLES" Loading