<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Sergey,<br>
</p>
<div class="moz-cite-prefix">On 21.08.2024 11:58, Sergey Kaplun
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ddc5fb317e4a98087796ce179facd8998b3497ef.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">This patch moves the aforementioned test from the <misc> to the <lang/>
directory (with slightly renaming to be consistent with other names),
includes it in <index>, and names the subtests.
Part of tarantool/tarantool#9398
---</pre>
</blockquote>
thanks for the patch! LGTM<br>
<blockquote type="cite"
cite="mid:ddc5fb317e4a98087796ce179facd8998b3497ef.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">
test/LuaJIT-tests/{misc/stack_gc.lua => lang/gc_stack.lua} | 4 +---
test/LuaJIT-tests/lang/index | 1 +
2 files changed, 2 insertions(+), 3 deletions(-)
rename test/LuaJIT-tests/{misc/stack_gc.lua => lang/gc_stack.lua} (91%)
diff --git a/test/LuaJIT-tests/misc/stack_gc.lua b/test/LuaJIT-tests/lang/gc_stack.lua
similarity index 91%
rename from test/LuaJIT-tests/misc/stack_gc.lua
rename to test/LuaJIT-tests/lang/gc_stack.lua
index 656a06a0..cd3d8f90 100644
--- a/test/LuaJIT-tests/misc/stack_gc.lua
+++ b/test/LuaJIT-tests/lang/gc_stack.lua
@@ -1,5 +1,4 @@
-
-do
+do --- Marking sparse stack.
local t = setmetatable({}, { __index=function(t, k)
k = k - 1
if k == 0 then
@@ -12,4 +11,3 @@ do
end})
local x = t[50]
end
-
diff --git a/test/LuaJIT-tests/lang/index b/test/LuaJIT-tests/lang/index
index 5c9e7ea4..b262c555 100644
--- a/test/LuaJIT-tests/lang/index
+++ b/test/LuaJIT-tests/lang/index
@@ -26,6 +26,7 @@ tail_recursion.lua
vararg_jit.lua
gc.lua
gc_debug.lua
+gc_stack.lua
gc_step.lua
goto.lua +goto
meta
</pre>
</blockquote>
</body>
<lt-container></lt-container>
</html>