Skip to content

Commit 8dd1b76

Browse files
committed
Added line to replace stopping rules with generations=1 when running script, and made that substitution space-proof for the future
1 parent a62c3a5 commit 8dd1b76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorials/run_tutorial_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ for t in */tests.txt; do
8383
(
8484
cd scripts
8585
cat "$script" |
86-
sed 's/generations=[0-9]*/generations=1/g' |
86+
sed 's/generations[[:space:]]=[[:space:]][0-9]*/generations=1/g' |
87+
sed 's/rules[[:space:]]*=[[:space:]]*[^,]*/generations=1/g' |
8788
sed 's/^n_gen *= *[0-9]*/n_gen = 1/' |
8889
sed 's/\.burnin([0-9][0-9]*/.burnin(1/' |
8990
sed 's/\.run([0-9][0-9]*/.run(1/' |

0 commit comments

Comments
 (0)