From e66ffeb3c2cd5391936fbcab2d49bc4b3e95a981 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Fri, 8 Feb 2019 10:32:16 -0800 Subject: [PATCH] Increase number of tiles available for retries for 057. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fuzzers/057-pip-bi/generate.tcl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fuzzers/057-pip-bi/generate.tcl b/fuzzers/057-pip-bi/generate.tcl index f09b5d28..fb295ebf 100644 --- a/fuzzers/057-pip-bi/generate.tcl +++ b/fuzzers/057-pip-bi/generate.tcl @@ -28,8 +28,11 @@ for {gets $fp line} {$line != ""} {gets $fp line} { } close $fp -set int_l_tiles [randsample_list [llength $todo_lines] [filter [pblock_tiles roi] {TYPE == INT_L}]] -set int_r_tiles [randsample_list [llength $todo_lines] [filter [pblock_tiles roi] {TYPE == INT_R}]] +# each run can fail up to three times so we need to prepare 3*todo_lines tiles to work on +set tiles [expr 3 * [llength $todo_lines]] + +set int_l_tiles [randsample_list $tiles [filter [pblock_tiles roi] {TYPE == INT_L}]] +set int_r_tiles [randsample_list $tiles [filter [pblock_tiles roi] {TYPE == INT_R}]] set fp [open "design.txt" w]