Marcel Telka
2022-11-24 0477ccd392dd3dba2db5696821990d0bc4d20c0a
tools/python-integrate-project: warn if pytest is called directly by tox

1 files modified
5 ■■■■■ changed files
tools/python-integrate-project 5 ●●●●● patch | view | raw | blame | history
tools/python-integrate-project
@@ -321,6 +321,11 @@
    fi
fi
# Warn if pytest is called directly by tox
[[ "$($GMAKE print-value-TEST_STYLE)" == "tox" && -f "$SOURCE_DIR/tox.ini" ]] \
    && grep -q '^ *pytest' "$SOURCE_DIR/tox.ini" \
    && printf "WARNING: pytest is called directly in tox.ini\n" >&2
# Create manifests
if ! $GMAKE sample-manifest > /dev/null 2>&1 ; then