In specs, seed random number generator with clock time by default
This commit is contained in:
parent
a3fdd7f20e
commit
51998ac5bb
3 changed files with 16 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ function run_tests {
|
|||
local cmd="out/Debug/${target}"
|
||||
shift
|
||||
|
||||
while getopts "df:ghpv" option; do
|
||||
while getopts "df:s:ghpv" option; do
|
||||
case ${option} in
|
||||
h)
|
||||
usage
|
||||
|
|
@ -48,6 +48,9 @@ function run_tests {
|
|||
v)
|
||||
args+=("--reporter=spec")
|
||||
;;
|
||||
s)
|
||||
export TREE_SITTER_SEED=${OPTARG}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue