./miri many-seeds: also print the seed before we try it

This commit is contained in:
Ralf Jung 2022-07-02 16:06:23 -04:00
parent 5815d8d81c
commit 733b141789

1
miri
View File

@ -55,6 +55,7 @@ COMMAND="$1"
case "$COMMAND" in
many-seeds)
for SEED in $({ echo obase=16; seq 0 255; } | bc); do
echo "Trying seed: $SEED"
MIRIFLAGS="$MIRIFLAGS -Zmiri-seed=$SEED" $@ || { echo "Failing seed: $SEED"; break; }
done
exit 0