File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,24 @@ cd ..
5757
5858YK_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.
6170cd 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
6372cd ..
6473
6574# Run third-party test suites.
6675git clone --recursive --shallow-submodules https://github.com/ykjit/yklua-tests
6776cd yklua-tests
6877git 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
You can’t perform that action at this time.
0 commit comments