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 E2A306F3C7; Fri, 26 Mar 2021 18:52:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E2A306F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616773963; bh=1LNqbQZb48TO0bN/fvacjwgXwxkpidgaBXE/8LW+Soc=; h=In-Reply-To:Date:References:To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=AIn/hXnRPphkvMAl8VBOo87zoyDoGjvfK3I97lLx9NOzq80Wkp2XDUHDDHHH7v2wI 6UnE553O7oxPX2hzOKjJo9P45rRAO6OQv22Ce9wS9pSCbLPqxR1F2mtYleX7WARssr YJQ80o+RLPimhe/39UK6OzCGNcx3FvjeSgafy3tA= Received: from smtp63.i.mail.ru (smtp63.i.mail.ru [217.69.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 61B116F3C7 for ; Fri, 26 Mar 2021 18:52:42 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 61B116F3C7 Received: by smtp63.i.mail.ru with esmtpa (envelope-from ) id 1lPolN-0004qj-JE; Fri, 26 Mar 2021 18:52:41 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) In-Reply-To: Date: Fri, 26 Mar 2021 18:52:41 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <68A4C456-D6DB-48A2-81EA-461E0A8DE15E@tarantool.org> References: To: Sergey Kaplun X-Mailer: Apple Mail (2.3654.60.0.2.21) X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9ED7173E37F4E32947A0146560F8BA709498CFB6209D8582A182A05F5380850408F1038B139CBE0DF3E2E4929CA2A0C9F54154B75D9FF2597A0EB3B1B3ABFBFAE X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A8325FA649D0A450EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063781E06E36B00F36668638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C5DD32608FC869F5DB78B15691622F882A68E01704FD84ED1A471835C12D1D9774AD6D5ED66289B5259CC434672EE6371117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE71AE4D56B06699BBC9FA2833FD35BB23DF004C90652538430302FCEF25BFAB3454AD6D5ED66289B5278DA827A17800CE7D4371A4A3481952AD32BA5DBAC0009BE395957E7521B51C20BC6067A898B09E4090A508E0FED6299176DF2183F8FC7C073821382ADE50709CD04E86FAF290E2D7E9C4E3C761E06A71DD303D21008E29813377AFFFEAFD269A417C69337E82CC275ECD9A6C639B01B78DA827A17800CE7994FE22CF3C16DE0731C566533BA786AA5CC5B56E945C8DA X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46D6582E646C1544B6A355D89D7DBCDD132 X-C1DE0DAB: 0D63561A33F958A5069B1474473FA0E09223EB2233B5251FE836F564E8BAB4ABD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34FDC9529E4578B99CA047BF12B29295482E5F81DA3642069C21C13B94E5089A31695D662A91007CCF1D7E09C32AA3244CF15361690ABFE612E2940B79B4446540F522A1CF68F4BE05FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojapPp7P/VpAgS89RQLWe4Ow== X-Mailru-Sender: 455D65AE3A139168626D8C76E86D3AC028CB25F3D6A43EBA4FC2F3CFCE247AB5DDAC019A3742A8B676D79013C85012CDC77752E0C033A69E4BBE7EBD99111A499D0AB74157175C036C18EFA0BB12DBB0 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 luajit 25/30] test: disable PUC Lua error test for syntax level 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 Ostanevich via Tarantool-patches Reply-To: Sergey Ostanevich Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" LGTM. Sergos > On 26 Mar 2021, at 10:43, Sergey Kaplun wrote: >=20 > When LuaJIT is compiled with LUAJIT_ENABLE_GC64, LJ_MAX_SLOTS limit is > reached and error LJ_ERR_XSLOTS ("function or expression too complex") > is raised earlier, than LJ_MAX_XLEVEL limit is reached and error > LJ_ERR_XLEVELS ("chunk has too many syntax levels") is raised. >=20 > This patch disabled test expected the LJ_ERR_XLEVEL error, but > failing with the LJ_ERR_XSLOTS error. >=20 > Part of tarantool/tarantool#5845 > Part of tarantool/tarantool#4473 > --- > test/PUC-Lua-5.1-tests/errors.lua | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) >=20 > diff --git a/test/PUC-Lua-5.1-tests/errors.lua = b/test/PUC-Lua-5.1-tests/errors.lua > index 028224c..328976e 100644 > --- a/test/PUC-Lua-5.1-tests/errors.lua > +++ b/test/PUC-Lua-5.1-tests/errors.lua > @@ -228,7 +228,13 @@ local function testrep (init, rep) > end > testrep("a=3D", "{") > testrep("a=3D", "(") > -testrep("", "a(") > +-- LuaJIT: When compiled with LUAJIT_ENABLE_GC64, LJ_MAX_SLOTS > +-- limit is reached and error LJ_ERR_XSLOTS ("function or > +-- expression too complex") is raised earlier, than LJ_MAX_XLEVEL > +-- limit is reached and error LJ_ERR_XLEVELS ("chunk has too many > +-- syntax levels") is raised. > +-- Test is disabled for LuaJIT. > +-- testrep("", "a(") > testrep("", "do ") > testrep("", "while a do ") > testrep("", "if a then else ") > --=20 > 2.31.0 >=20