From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id D3D5ECE2D43; Thu, 22 Aug 2024 16:49:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D3D5ECE2D43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1724334548; bh=i5wv3Lvwo1Hzu2Tm9Flq74Btn5k0FTcBbs8zfyadacA=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=xGm2ADLxbke1VxYjkT9oPjRyvX3YYytl/t78XxZPR83LTocGfWO3v28tQ3MoVLJW0 mXzBXu6F2Fpjwhu2bFLuUfmYmM+rgakrxmeLHO2ggorxSCVk4rm1fgQp12vts4ntDh bzIFnQ69numkZ+Fc8pm8slF+3UwcM3trtphnzlY8= Received: from smtp47.i.mail.ru (smtp47.i.mail.ru [95.163.41.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id EBADACE2D41 for ; Thu, 22 Aug 2024 16:49:06 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EBADACE2D41 Received: by smtp47.i.mail.ru with esmtpa (envelope-from ) id 1sh8BV-00000008Y1e-2qgT; Thu, 22 Aug 2024 16:49:06 +0300 Content-Type: multipart/alternative; boundary="------------xzV1UF0a90MTplBOYYoSfNpV" Message-ID: Date: Thu, 22 Aug 2024 16:49:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Sergey Kaplun , Maxim Kokryashkin Cc: tarantool-patches@dev.tarantool.org References: <7f684c8c14d12aa796ed5f3b70ea91d68f0e3b38.1724228998.git.skaplun@tarantool.org> In-Reply-To: <7f684c8c14d12aa796ed5f3b70ea91d68f0e3b38.1724228998.git.skaplun@tarantool.org> X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9604F665CF1C84C2980712E41772963EBDDF38C41D9EC0CE9182A05F5380850404C228DA9ACA6FE27B5DA23A130EA85F8C7A4B249DE6549FDFFA52C029B59BBAF82BBE18FB0487B48DC3326C543D49E8D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE77E216A0E97507353EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063766C9C3EB94AE7C6E8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8FFBFEFDE20E03B8AF4CD678F44B09FA7CA08FB6256D9E5B7CC7F00164DA146DAFE8445B8C89999728AA50765F7900637F6B57BC7E64490618DEB871D839B7333395957E7521B51C2DFABB839C843B9C08941B15DA834481F8AA50765F7900637BA939FD1B3BAB99B389733CBF5DBD5E9B5C8C57E37DE458BD9DD9810294C998ED8FC6C240DEA76428AA50765F790063741880789376DFC6ED81D268191BDAD3DBD4B6F7A4D31EC0BE2F48590F00D11D6D81D268191BDAD3D78DA827A17800CE7541FADD3D81556A7EC76A7562686271ED91E3A1F190DE8FD2E808ACE2090B5E14AD6D5ED66289B5259CC434672EE63711DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C3045DD857D6FE754135872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A56834132F1A7B99B15002B1117B3ED696603AC39069AC283A484B8D70797403F6823CB91A9FED034534781492E4B8EEAD85CCBA673D36D1A4BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF2D55FAED82143FAE261398BA4C87FD5110BFA79219B71BA435E0D62747D931AF6DD3C4C1BE61872B2FB0CAD32ADFBF84B5B14F7FB2DED8C7573654558757E33447D31193F86BCDA35F4332CA8FE04980913E6812662D5F2AB9AF64DB4688768036DF5FE9C0001AF333F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbUwDRTee1XplQS21ritTcg== X-Mailru-Sender: 520A125C2F17F0B1E52FEF5D219D61406B204864227B513E581489A78E935FCDA451D22016C407620152A3D17938EB451EB5A0BCEC6A560B3DDE9B364B0DF289BE2DA36745F2EEB5CEBA01FB949A1F1EEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 luajit 32/45] test: enable LuaJIT test X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This is a multi-part message in MIME format. --------------xzV1UF0a90MTplBOYYoSfNpV Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sergey, On 21.08.2024 11:58, Sergey Kaplun wrote: > This patch moves the aforementioned test from the to the > directory, includes it in , and names the subtest. > > Part of tarantool/tarantool#9398 > --- thanks for the patch! LGTM > test/LuaJIT-tests/trace/index | 1 + > test/LuaJIT-tests/{misc => trace}/stack_purge.lua | 8 ++++---- > 2 files changed, 5 insertions(+), 4 deletions(-) > rename test/LuaJIT-tests/{misc => trace}/stack_purge.lua (87%) > > diff --git a/test/LuaJIT-tests/trace/index b/test/LuaJIT-tests/trace/index > index 3ab095a7..4826f429 100644 > --- a/test/LuaJIT-tests/trace/index > +++ b/test/LuaJIT-tests/trace/index > @@ -8,4 +8,5 @@ hook_record.lua > jit_flush.lua > phi > snap.lua > +stack_purge.lua > stitch.lua > diff --git a/test/LuaJIT-tests/misc/stack_purge.lua b/test/LuaJIT-tests/trace/stack_purge.lua > similarity index 87% > rename from test/LuaJIT-tests/misc/stack_purge.lua > rename to test/LuaJIT-tests/trace/stack_purge.lua > index bfaee0f3..6d2876af 100644 > --- a/test/LuaJIT-tests/misc/stack_purge.lua > +++ b/test/LuaJIT-tests/trace/stack_purge.lua > @@ -1,4 +1,3 @@ > - > -- Must preserve the modified function slot in the RET snapshot. > local function a() > local _,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_ > @@ -20,6 +19,7 @@ local function c() > end > end > > -jit.off(c) > -c() > - > +do --- Don't purge the function to return from SNAP. > + jit.off(c) > + c() > +end --------------xzV1UF0a90MTplBOYYoSfNpV Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Sergey,

On 21.08.2024 11:58, Sergey Kaplun wrote:
This patch moves the aforementioned test from the <misc> to the <trace/>
directory, includes it in <index>, and names the subtest.

Part of tarantool/tarantool#9398
---
thanks for the patch! LGTM
 test/LuaJIT-tests/trace/index                     | 1 +
 test/LuaJIT-tests/{misc => trace}/stack_purge.lua | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
 rename test/LuaJIT-tests/{misc => trace}/stack_purge.lua (87%)

diff --git a/test/LuaJIT-tests/trace/index b/test/LuaJIT-tests/trace/index
index 3ab095a7..4826f429 100644
--- a/test/LuaJIT-tests/trace/index
+++ b/test/LuaJIT-tests/trace/index
@@ -8,4 +8,5 @@ hook_record.lua
 jit_flush.lua
 phi
 snap.lua
+stack_purge.lua
 stitch.lua
diff --git a/test/LuaJIT-tests/misc/stack_purge.lua b/test/LuaJIT-tests/trace/stack_purge.lua
similarity index 87%
rename from test/LuaJIT-tests/misc/stack_purge.lua
rename to test/LuaJIT-tests/trace/stack_purge.lua
index bfaee0f3..6d2876af 100644
--- a/test/LuaJIT-tests/misc/stack_purge.lua
+++ b/test/LuaJIT-tests/trace/stack_purge.lua
@@ -1,4 +1,3 @@
-
 -- Must preserve the modified function slot in the RET snapshot.
 local function a()
   local _,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
@@ -20,6 +19,7 @@ local function c()
   end
 end
 
-jit.off(c)
-c()
-
+do --- Don't purge the function to return from SNAP.
+  jit.off(c)
+  c()
+end
--------------xzV1UF0a90MTplBOYYoSfNpV--