Upgrade bandit test framework
This commit is contained in:
parent
4c60141b63
commit
7968da672f
2 changed files with 9 additions and 2 deletions
2
externals/bandit
vendored
2
externals/bandit
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit ae7ed1eb4c0c228f0e899e3f15e455b3ab7cc073
|
||||
Subproject commit f14ade4fbba72f2e8ba3a7f47318eb07614a39d4
|
||||
|
|
@ -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:-""}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue