From: Tom Christie Date: Sat, 1 Aug 2020 08:39:28 +0000 (+0100) Subject: Drop the auto-prompting 'do you want to run scripts/lint now' (#1107) X-Git-Tag: 0.14.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6022dea9f0fc7c0a365b17d278b303262a45c09;p=thirdparty%2Fhttpx.git Drop the auto-prompting 'do you want to run scripts/lint now' (#1107) --- diff --git a/scripts/test b/scripts/test index 7b35d2af..f9c99172 100755 --- a/scripts/test +++ b/scripts/test @@ -5,22 +5,12 @@ if [ -d 'venv' ] ; then export PREFIX="venv/bin/" fi +set -ex + if [ -z $GITHUB_ACTIONS ]; then - set +e scripts/check - while [ $? -ne 0 ]; do - read -p "Running 'scripts/check' failed. Do you want to run 'scripts/lint' now? [y/N] " yn - case $yn in - [Yy]* ) :;; - * ) exit;; - esac - scripts/lint - scripts/check - done fi -set -ex - ${PREFIX}pytest $@ if [ -z $GITHUB_ACTIONS ]; then