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 E82ADE8C8AE; Thu, 22 Aug 2024 16:28:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E82ADE8C8AE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1724333314; bh=agm7UXNY6Pk5tXBvHB0Rdy/AQZbAg3q3D0HB0syiD4o=; 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=ALtBJHRV/jMA2l+UoA8dUne9N5Ld/XYfjcboFbgkMPNHXAyultq3KKusmdsWQrRAU UlNss2hj5XpTHcLH0Gc+ihyF7yGXWosUeJdqdHByrZUtTe/S5ytB/udeGVuc1bRAD/ WQslpV6ba8Oq784YoWpKWgcm5B9Kr1w9iuPQEkDk= Received: from smtp17.i.mail.ru (smtp17.i.mail.ru [95.163.41.70]) (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 4C8B5E8C8AE for ; Thu, 22 Aug 2024 16:28:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4C8B5E8C8AE Received: by smtp17.i.mail.ru with esmtpa (envelope-from ) id 1sh7rc-0000000926U-0Rvs; Thu, 22 Aug 2024 16:28:32 +0300 Content-Type: multipart/alternative; boundary="------------lgRRBkrowGrLF4jYemBNe0M4" Message-ID: Date: Thu, 22 Aug 2024 16:28:31 +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: <8d97714b6ac6071dade66cad0533c3ce18daefd3.1724228998.git.skaplun@tarantool.org> In-Reply-To: <8d97714b6ac6071dade66cad0533c3ce18daefd3.1724228998.git.skaplun@tarantool.org> X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9BB2AFC06FD50F0EF8285F8531C8D2DAFB4BBD33CD888F9FD182A05F538085040356A64363312D2E45D1BE6A8D71B10A56AEC29E6FAC75AF98C8D5969F79C319EB6A098A45AF874EE X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE785DAC9A352760686C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE78044725E6B9C7F2CEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B043BF0FB74779F3611877ED40738DA9ABCDA80003998F19B9D592718F0F46F60A471835C12D1D9774AD6D5ED66289B5259CC434672EE6371117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE70F3DDF2BBF19B93A9FA2833FD35BB23DF004C90652538430302FCEF25BFAB3454AD6D5ED66289B5278DA827A17800CE7FA4C55B1AF27FA29D32BA5DBAC0009BE395957E7521B51C2330BD67F2E7D9AF1090A508E0FED6299176DF2183F8FC7C02B87E28CB37DAD3BCD04E86FAF290E2DB606B96278B59C421DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B6F82A78844E5C6993089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A51821882197B494435002B1117B3ED696D05E52B2AAE4C808B91D2EB2DEE3878C823CB91A9FED034534781492E4B8EEAD003C2D46C52F18F2BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF65EBA207813EF4750A8F6FA70896D448595F51C8D225640A6F09E9AFA91A7C31F61CD9246542D0C42FB0CAD32ADFBF84CED2291F18652A031B04B205C4516F5C3B2FD51B89918E9F5F4332CA8FE04980913E6812662D5F2AB9AF64DB4688768036DF5FE9C0001AF333F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbUwDRTee1Xqlq2qi5/Qjfg== X-Mailru-Sender: 520A125C2F17F0B1E52FEF5D219D6140EC5AF1FB83F9D8AD532DB42B38B2DE73FBA171431577A6100152A3D17938EB451EB5A0BCEC6A560B3DDE9B364B0DF289BE2DA36745F2EEB5CEBA01FB949A1F1EEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 luajit 24/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. --------------lgRRBkrowGrLF4jYemBNe0M4 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/lang/index | 1 + > test/LuaJIT-tests/lang/parse_esc.lua | 10 ++++++++++ > test/LuaJIT-tests/misc/parse_esc.lua | 7 ------- > 3 files changed, 11 insertions(+), 7 deletions(-) > create mode 100644 test/LuaJIT-tests/lang/parse_esc.lua > delete mode 100644 test/LuaJIT-tests/misc/parse_esc.lua > > diff --git a/test/LuaJIT-tests/lang/index b/test/LuaJIT-tests/lang/index > index 371a5768..0d1175a8 100644 > --- a/test/LuaJIT-tests/lang/index > +++ b/test/LuaJIT-tests/lang/index > @@ -18,6 +18,7 @@ concat.lua > self.lua > table.lua > parse_comp.lua > +parse_esc.lua > upvalue > tail_recursion.lua > vararg_jit.lua > diff --git a/test/LuaJIT-tests/lang/parse_esc.lua b/test/LuaJIT-tests/lang/parse_esc.lua > new file mode 100644 > index 00000000..c14d347a > --- /dev/null > +++ b/test/LuaJIT-tests/lang/parse_esc.lua > @@ -0,0 +1,10 @@ > +do --- Base parsing of escape sequences. > + assert("\79\126" == "O~") > + assert("\x4f\x7e" == "O~") > + assert(loadstring[[return "\xxx"]] == nil) > + assert(loadstring[[return "\xxx"]] == nil) > + > + assert(assert(loadstring[[return "abc \z > + > + def"]])() == "abc def") > +end > diff --git a/test/LuaJIT-tests/misc/parse_esc.lua b/test/LuaJIT-tests/misc/parse_esc.lua > deleted file mode 100644 > index 4bcce0e8..00000000 > --- a/test/LuaJIT-tests/misc/parse_esc.lua > +++ /dev/null > @@ -1,7 +0,0 @@ > -assert("\79\126" == "O~") > -assert("\x4f\x7e" == "O~") > -assert(loadstring[[return "\xxx"]] == nil) > -assert(loadstring[[return "\xxx"]] == nil) > -assert(assert(loadstring[[return "abc \z > - > - def"]])() == "abc def") --------------lgRRBkrowGrLF4jYemBNe0M4 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 <lang/>
directory, includes it in <index>, and names the subtest.

Part of tarantool/tarantool#9398
---
thanks for the patch! LGTM
 test/LuaJIT-tests/lang/index         |  1 +
 test/LuaJIT-tests/lang/parse_esc.lua | 10 ++++++++++
 test/LuaJIT-tests/misc/parse_esc.lua |  7 -------
 3 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 test/LuaJIT-tests/lang/parse_esc.lua
 delete mode 100644 test/LuaJIT-tests/misc/parse_esc.lua

diff --git a/test/LuaJIT-tests/lang/index b/test/LuaJIT-tests/lang/index
index 371a5768..0d1175a8 100644
--- a/test/LuaJIT-tests/lang/index
+++ b/test/LuaJIT-tests/lang/index
@@ -18,6 +18,7 @@ concat.lua
 self.lua
 table.lua
 parse_comp.lua
+parse_esc.lua
 upvalue
 tail_recursion.lua
 vararg_jit.lua
diff --git a/test/LuaJIT-tests/lang/parse_esc.lua b/test/LuaJIT-tests/lang/parse_esc.lua
new file mode 100644
index 00000000..c14d347a
--- /dev/null
+++ b/test/LuaJIT-tests/lang/parse_esc.lua
@@ -0,0 +1,10 @@
+do --- Base parsing of escape sequences.
+  assert("\79\126" == "O~")
+  assert("\x4f\x7e" == "O~")
+  assert(loadstring[[return "\xxx"]] == nil)
+  assert(loadstring[[return "\xxx"]] == nil)
+
+  assert(assert(loadstring[[return "abc   \z
+
+     def"]])() == "abc   def")
+end
diff --git a/test/LuaJIT-tests/misc/parse_esc.lua b/test/LuaJIT-tests/misc/parse_esc.lua
deleted file mode 100644
index 4bcce0e8..00000000
--- a/test/LuaJIT-tests/misc/parse_esc.lua
+++ /dev/null
@@ -1,7 +0,0 @@
-assert("\79\126" == "O~")
-assert("\x4f\x7e" == "O~")
-assert(loadstring[[return "\xxx"]] == nil)
-assert(loadstring[[return "\xxx"]] == nil)
-assert(assert(loadstring[[return "abc   \z
-
-   def"]])() == "abc   def")
--------------lgRRBkrowGrLF4jYemBNe0M4--