Sergey, On 21.08.2024 11:58, Sergey Kaplun wrote: > This patch set handles all tests from the directory: removes > duplicates or enables them as a part of other categories. > > Changes in v2: > * Separate refactoring of the enabled tests, where the original > patch does not include the whole test due to its enabling and fixing > the indentation (as discussed with Sergey Bronnikov). > * Updated the to make it up-to-date. > > Branch:https://github.com/tarantool/luajit/tree/skaplun/gh-9398-more-luajit-tests-p2 > Issue:https://github.com/tarantool/tarantool/issues/9398 Thanks for patches! LGTM > Sergey Kaplun (45): > test: don't run JIT-based LuaJIT tests without JIT > test: actualize > test: enable LuaJIT test > test: refactor LuaJIT test > test: refactor LuaJIT test > test: remove LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: refactor LuaJIT test > test: remove LuaJIT test > test: remove LuaJIT test > test: remove LuaJIT test > test: enable LuaJIT test > test: refactor LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: remove LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: refactor LuaJIT test > test: enable LuaJIT test > test: remove LuaJIT test > test: enable LuaJIT test > test: refactor LuaJIT test > test: enable LuaJIT test > test: refactor LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: refactor LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: remove LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: enable LuaJIT test > test: update > > test/LuaJIT-tests/CMakeLists.txt | 10 +- > test/LuaJIT-tests/README.md | 17 +- > test/LuaJIT-tests/lang/coroutine.lua | 8 - > .../deep_recursion.lua} | 8 +- > test/LuaJIT-tests/{misc => lang}/dualnum.lua | 24 +- > .../{misc/debug_gc.lua => lang/gc_debug.lua} | 31 ++- > .../{misc/stack_gc.lua => lang/gc_stack.lua} | 6 +- > test/LuaJIT-tests/lang/gc_step.lua | 39 +++ > test/LuaJIT-tests/lang/hook_active.lua | 102 ++++++++ > test/LuaJIT-tests/lang/hook_line.lua | 45 ++++ > test/LuaJIT-tests/lang/hook_top.lua | 59 +++++ > test/LuaJIT-tests/lang/index | 15 +- > test/LuaJIT-tests/lang/parse_comp.lua | 12 + > test/LuaJIT-tests/lang/parse_esc.lua | 10 + > test/LuaJIT-tests/lang/parse_misc.lua | 31 +++ > test/LuaJIT-tests/lang/stackov.lua | 48 ++++ > test/LuaJIT-tests/lang/stackov_c.lua | 12 + > test/LuaJIT-tests/lang/wbarrier.lua | 11 + > test/LuaJIT-tests/lib/base/index | 1 + > .../{misc => lib/base}/tonumber_scan.lua | 58 +++-- > test/LuaJIT-tests/lib/coroutine/index | 1 + > test/LuaJIT-tests/lib/coroutine/traceback.lua | 14 + > test/LuaJIT-tests/misc/coro_traceback.lua | 8 - > test/LuaJIT-tests/misc/coro_yield.lua | 111 -------- > test/LuaJIT-tests/misc/for_dir.lua | 13 - > test/LuaJIT-tests/misc/fori_coerce.lua | 33 --- > test/LuaJIT-tests/misc/gc_rechain.lua | 32 --- > test/LuaJIT-tests/misc/gcstep.lua | 33 --- > test/LuaJIT-tests/misc/hook_active.lua | 95 ------- > test/LuaJIT-tests/misc/hook_line.lua | 41 --- > test/LuaJIT-tests/misc/hook_norecord.lua | 12 - > test/LuaJIT-tests/misc/hook_record.lua | 8 - > test/LuaJIT-tests/misc/hook_top.lua | 55 ---- > test/LuaJIT-tests/misc/jit_flush.lua | 50 ---- > test/LuaJIT-tests/misc/loop_unroll.lua | 35 --- > test/LuaJIT-tests/misc/parse_comp.lua | 13 - > test/LuaJIT-tests/misc/parse_esc.lua | 7 - > test/LuaJIT-tests/misc/parse_misc.lua | 31 --- > test/LuaJIT-tests/misc/recurse_tail.lua | 22 -- > test/LuaJIT-tests/misc/stackov.lua | 40 --- > test/LuaJIT-tests/misc/stackovc.lua | 4 - > test/LuaJIT-tests/misc/tcall_loop.lua | 8 - > test/LuaJIT-tests/misc/uclo.lua | 91 ------- > test/LuaJIT-tests/misc/unordered_jit.lua | 96 ------- > test/LuaJIT-tests/misc/wbarrier.lua | 7 - > test/LuaJIT-tests/misc/wbarrier_jit.lua | 18 -- > test/LuaJIT-tests/misc/wbarrier_obar.lua | 22 -- > test/LuaJIT-tests/opt/index | 1 + > .../{misc => opt/mem}/alias_alloc.lua | 30 +-- > test/LuaJIT-tests/opt/mem/index | 1 + > .../{misc/gc_trace.lua => trace/gc.lua} | 32 ++- > test/LuaJIT-tests/trace/hook_norecord.lua | 12 + > test/LuaJIT-tests/trace/hook_record.lua | 7 + > test/LuaJIT-tests/trace/index | 9 + > test/LuaJIT-tests/trace/jit_flush.lua | 66 +++++ > .../{misc/phi_conv.lua => trace/phi/conv.lua} | 37 +-- > test/LuaJIT-tests/trace/phi/index | 1 + > .../{misc => trace}/stack_purge.lua | 14 +- > .../{misc => trace}/tcall_base.lua | 14 +- > test/LuaJIT-tests/trace/tcall_loop.lua | 10 + > test/LuaJIT-tests/trace/unordered_jit.lua | 240 ++++++++++++++++++ > test/LuaJIT-tests/trace/wbarrier.lua | 57 +++++ > 62 files changed, 959 insertions(+), 1019 deletions(-) > delete mode 100644 test/LuaJIT-tests/lang/coroutine.lua > rename test/LuaJIT-tests/{misc/recurse_deep.lua => lang/deep_recursion.lua} (84%) > rename test/LuaJIT-tests/{misc => lang}/dualnum.lua (57%) > rename test/LuaJIT-tests/{misc/debug_gc.lua => lang/gc_debug.lua} (63%) > rename test/LuaJIT-tests/{misc/stack_gc.lua => lang/gc_stack.lua} (76%) > create mode 100644 test/LuaJIT-tests/lang/gc_step.lua > create mode 100644 test/LuaJIT-tests/lang/hook_active.lua > create mode 100644 test/LuaJIT-tests/lang/hook_line.lua > create mode 100644 test/LuaJIT-tests/lang/hook_top.lua > create mode 100644 test/LuaJIT-tests/lang/parse_comp.lua > create mode 100644 test/LuaJIT-tests/lang/parse_esc.lua > create mode 100644 test/LuaJIT-tests/lang/parse_misc.lua > create mode 100644 test/LuaJIT-tests/lang/stackov.lua > create mode 100644 test/LuaJIT-tests/lang/stackov_c.lua > create mode 100644 test/LuaJIT-tests/lang/wbarrier.lua > rename test/LuaJIT-tests/{misc => lib/base}/tonumber_scan.lua (93%) > create mode 100644 test/LuaJIT-tests/lib/coroutine/traceback.lua > delete mode 100644 test/LuaJIT-tests/misc/coro_traceback.lua > delete mode 100644 test/LuaJIT-tests/misc/coro_yield.lua > delete mode 100644 test/LuaJIT-tests/misc/for_dir.lua > delete mode 100644 test/LuaJIT-tests/misc/fori_coerce.lua > delete mode 100644 test/LuaJIT-tests/misc/gc_rechain.lua > delete mode 100644 test/LuaJIT-tests/misc/gcstep.lua > delete mode 100644 test/LuaJIT-tests/misc/hook_active.lua > delete mode 100644 test/LuaJIT-tests/misc/hook_line.lua > delete mode 100644 test/LuaJIT-tests/misc/hook_norecord.lua > delete mode 100644 test/LuaJIT-tests/misc/hook_record.lua > delete mode 100644 test/LuaJIT-tests/misc/hook_top.lua > delete mode 100644 test/LuaJIT-tests/misc/jit_flush.lua > delete mode 100644 test/LuaJIT-tests/misc/loop_unroll.lua > delete mode 100644 test/LuaJIT-tests/misc/parse_comp.lua > delete mode 100644 test/LuaJIT-tests/misc/parse_esc.lua > delete mode 100644 test/LuaJIT-tests/misc/parse_misc.lua > delete mode 100644 test/LuaJIT-tests/misc/recurse_tail.lua > delete mode 100644 test/LuaJIT-tests/misc/stackov.lua > delete mode 100644 test/LuaJIT-tests/misc/stackovc.lua > delete mode 100644 test/LuaJIT-tests/misc/tcall_loop.lua > delete mode 100644 test/LuaJIT-tests/misc/uclo.lua > delete mode 100644 test/LuaJIT-tests/misc/unordered_jit.lua > delete mode 100644 test/LuaJIT-tests/misc/wbarrier.lua > delete mode 100644 test/LuaJIT-tests/misc/wbarrier_jit.lua > delete mode 100644 test/LuaJIT-tests/misc/wbarrier_obar.lua > rename test/LuaJIT-tests/{misc => opt/mem}/alias_alloc.lua (53%) > create mode 100644 test/LuaJIT-tests/opt/mem/index > rename test/LuaJIT-tests/{misc/gc_trace.lua => trace/gc.lua} (54%) > create mode 100644 test/LuaJIT-tests/trace/hook_norecord.lua > create mode 100644 test/LuaJIT-tests/trace/hook_record.lua > create mode 100644 test/LuaJIT-tests/trace/jit_flush.lua > rename test/LuaJIT-tests/{misc/phi_conv.lua => trace/phi/conv.lua} (65%) > rename test/LuaJIT-tests/{misc => trace}/stack_purge.lua (74%) > rename test/LuaJIT-tests/{misc => trace}/tcall_base.lua (55%) > create mode 100644 test/LuaJIT-tests/trace/tcall_loop.lua > create mode 100644 test/LuaJIT-tests/trace/unordered_jit.lua > create mode 100644 test/LuaJIT-tests/trace/wbarrier.lua >