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 6556F6FF9D; Fri, 26 Mar 2021 10:56:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 6556F6FF9D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616745403; bh=NwNPxUsBA0NV555lWzG8cBHnQ2iBVpmgXfQ1rMJFaDU=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=MJJLR2RVfCI/3QFI244GguaMTZNmmKGBHVyEX+Az8uZuQaUqknl7ma2fqrg5Y3TsG /QPmKnQ57iqDYbkMi4pnIqeZsIz4okMZfte8ojHIFyMHHNUG3VWxX+YRE/XzzF1wBT 4OTktjPO5Ws6D26ekaYOlZhjnsGkGXoIPZk2MfwQ= 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 1BE0C68F4E for ; Fri, 26 Mar 2021 10:44:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1BE0C68F4E Received: by smtp63.i.mail.ru with esmtpa (envelope-from ) id 1lPh9K-00042u-5O; Fri, 26 Mar 2021 10:44:54 +0300 To: Sergey Ostanevich , Igor Munkin Date: Fri, 26 Mar 2021 10:43:08 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9064ADF4728AA0EE92C031F1727A757A9F762E9876BADF49A182A05F5380850404EC6616191BAD2DC8FAAFCCA503331F6B0A0BA942987BD23801BD830852CFF36 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F9D3BE5B596754B8C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE76DD23B0452F84E3CEA1F7E6F0F101C67CDEEF6D7F21E0D1D174C73DBBBFC7664522CCF267CC2B9BF98CF6AE12A4F49C34FED5DC5C508987C389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B64854413538E1713FCC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CFC5EA940A35A165FF2DBA43225CD8A89F890A246B268E114EC6EABA9B74D0DA47B5C8C57E37DE458BEDA766A37F9254B7 X-B7AD71C0: 2623F767319EFA42AC98609FCEE262F9192335DD689A58EBAE0174B7F1092AFB4D7467C9932A111701FF171D62A64319 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C5DD32608FC869F5DFB7CDD2C54D8FF77BE884C91DBA53C879C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EFF532FBFD8162E58C699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3433E9BC74ABA5769F35FE6C4A4CC72C9EC3DDC2D4CD2AC61FFA60BEECEF7C5898A01ED388C68208961D7E09C32AA3244C09889A9B98A7DB9BD49D50C0082169B764EE5813BBCA3A9D927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojapPp7P/VpAg+6sT9orOidg== X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB40558045C4E936D97C37CE200D0FCECB70E46E123E0569D37F2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [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 Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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. This patch disabled test expected the LJ_ERR_XLEVEL error, but failing with the LJ_ERR_XSLOTS error. 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(-) 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=", "{") testrep("a=", "(") -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 ") -- 2.31.0