Upgrade bandit test framework

This commit is contained in:
Max Brunsfeld 2016-11-18 13:47:31 -08:00
parent 4c60141b63
commit 7968da672f
2 changed files with 9 additions and 2 deletions

View file

@ -32,6 +32,7 @@ EOF
profile=
leak_check=no
mode=normal
verbose=
args=()
target=tests
export BUILDTYPE=Test
@ -60,7 +61,7 @@ while getopts "df:s:gGhpvS" option; do
args+=("--only=${OPTARG}")
;;
v)
args+=("--reporter=spec")
verbose=true
;;
s)
export TREE_SITTER_SEED=${OPTARG}
@ -71,6 +72,12 @@ while getopts "df:s:gGhpvS" option; do
esac
done
if [[ -n $verbose ]]; then
args+=("--reporter=spec")
else
args+=("--reporter=singleline")
fi
make $target
args=${args:-""}