Skip to content

Commit

Permalink
runtests: run with --rng-seed, to make the tests repeatable
Browse files Browse the repository at this point in the history
This avoids spurious test failures due to variations in the rng seed.
  • Loading branch information
SebKuzminsky committed Sep 6, 2016
1 parent f21ac18 commit bcbbe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtests
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for INPUT in $INPUTS; do

# Run imago on the input file, check for failure.
rm -f $INPUT.out
./imago $INPUT > $INPUT.out
./imago --rng-seed "runtests rng seed" $INPUT > $INPUT.out
if [ $? -ne 0 ]; then
echo "ERROR: imago returned failure"
FAILED="$FAILED $INPUT"
Expand Down

0 comments on commit bcbbe37

Please sign in to comment.