Skip to content

Commit f90a375

Browse files
committed
Run more reps overnight.
1 parent 2026133 commit f90a375

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.buildbot.sh

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,24 @@ cd ..
5757

5858
YK_BUILD_TYPE=release-with-asserts make -j `nproc`
5959

60+
# Decide how many times to run suites. Nightly runs do lots more.
61+
REPS=1
62+
if [ "${SD_NIGHTLY:-0}" = "1" ]; then
63+
REPS=200
64+
fi
65+
66+
git clone https://github.com/ltratt/try_repeat
67+
TRYREP="$(realpath ./try_repeat/try_repeat) -v"
68+
6069
# Run the bundled test suite.
6170
cd tests
62-
YKD_SERIALISE_COMPILATION=1 ../src/lua -e"_U=true" all.lua
71+
YKD_SERIALISE_COMPILATION=1 $TRYREP $REPS ../src/lua -e"_U=true" all.lua
6372
cd ..
6473

6574
# Run third-party test suites.
6675
git clone --recursive --shallow-submodules https://github.com/ykjit/yklua-tests
6776
cd yklua-tests
6877
git rev-parse HEAD # for the build logs.
69-
YKD_SERIALISE_COMPILATION=0 sh run.sh ${PWD}/../src/lua
70-
YKD_SERIALISE_COMPILATION=1 sh run.sh ${PWD}/../src/lua
78+
79+
YKD_SERIALISE_COMPILATION=0 $TRYREP $REPS sh run.sh ${PWD}/../src/lua
80+
YKD_SERIALISE_COMPILATION=1 $TRYREP $REPS sh run.sh ${PWD}/../src/lua

0 commit comments

Comments
 (0)