Update test script with flags for new randomized test options
This commit is contained in:
parent
db91399ea7
commit
be463c7789
1 changed files with 5 additions and 4 deletions
|
|
@ -14,11 +14,9 @@ OPTIONS
|
|||
|
||||
-a Compile C code with the Clang static analyzer
|
||||
|
||||
-l Run only the corpus tests for the given language
|
||||
|
||||
-e Run only the corpus tests whose name contain the given string
|
||||
|
||||
-t Run only the given trial number of randomized test
|
||||
-i Run the given number of iterations of randomized tests (default 10)
|
||||
|
||||
-s Set the seed used to control random behavior
|
||||
|
||||
|
|
@ -36,7 +34,7 @@ export RUST_BACKTRACE=full
|
|||
mode=normal
|
||||
test_flags=""
|
||||
|
||||
while getopts "adDghl:e:s:t:" option; do
|
||||
while getopts "adDghl:e:s:i:" option; do
|
||||
case ${option} in
|
||||
h)
|
||||
usage
|
||||
|
|
@ -62,6 +60,9 @@ while getopts "adDghl:e:s:t:" option; do
|
|||
s)
|
||||
export TREE_SITTER_SEED=${OPTARG}
|
||||
;;
|
||||
i)
|
||||
export TREE_SITTER_ITERATIONS=${OPTARG}
|
||||
;;
|
||||
d)
|
||||
export TREE_SITTER_LOG=1
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue