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 2E2946F3C2; Fri, 12 Mar 2021 08:37:26 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2E2946F3C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615527446; bh=Q+hv7tPM7fm0oM4dG8n1mH4siVzTJpTR2npCGpuKJnw=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=daw1CfOoz1N10PLtz7EvxK0JLGNZrwbFlrbDTf9ED7+PEdyBkyquSLWEG338zJgSv 3EDp35ReF15PHlcGDI/C1rEfsTyQFOMJsmicVd5AaAfKU3WjvHDJs3O6gZ5a31/2pO Di6luxDvnk8v7odr7J2bMWmRLm5pGpUtKkzl5CZU= Received: from smtp47.i.mail.ru (smtp47.i.mail.ru [94.100.177.107]) (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 6FEEE6F3C0 for ; Fri, 12 Mar 2021 08:37:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 6FEEE6F3C0 Received: by smtp47.i.mail.ru with esmtpa (envelope-from ) id 1lKaUD-0006sZ-Ep; Fri, 12 Mar 2021 08:37:21 +0300 To: Igor Munkin , Sergey Ostanevich Date: Fri, 12 Mar 2021 08:36:21 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9EC9B6B2B0ADCE374C026EED4C05180E8062A7AD387E0A7A5182A05F53808504060FF19762BF454769387BA131F00E97AAABF35C4DA8AE8F8E6D8832905870B6A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE737BB76880A4CA9A4EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637543EE1E955FF04C98638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C11F5982A89E0728CA0B95C10C71AEB49228DABF273806C95A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7328B01A8D746D8839FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C3ED8438A78DFE0A9E117882F4460429728AD0CFFFB425014E868A13BD56FB6657A7F4EDE966BC389F9E8FC8737B5C22495B4C35AC65A386B3089D37D7C0E48F6CCF19DD082D7633A0E7DDDDC251EA7DABAAAE862A0553A39223F8577A6DFFEA7C054662F8F2CA352F43847C11F186F3C5E7DDDDC251EA7DABCC89B49CDF41148FA8EF81845B15A4842623479134186CDE6BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C11F5982A89E0728CA0B95C10C71AEB49228DABF273806C959C2B6934AE262D3EE7EAB7254005DCEDC1ACE034E8A9AD111E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0279E343DB675BB2F8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340A59E724FC7897F71C197AA0D86CDC93D180ECD80F3314E0C916F96D11466EA4607D63F32941C3A21D7E09C32AA3244C5493EB4009985F41D99AAEA3E911E73F8894E9C85370243E927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojQNwI24iyQ+pq5frBuPyfxA== X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4D272D6327956371ED41C4C5F8260EF9FD6E2BA72FD04D86FF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/3] Adapt PUC-Rio Lua 5.1 test suite 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" In this patchset PUC-Rio Lua 5.1 test suite is adapted for the LuaJIT fork and Tarantool. Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-5845-adapt-puc-rio-test-suite Tarantool's branch for tests: https://github.com/tarantool/tarantool/tree/skaplun/gh-5845-adapt-puc-rio-test-suite Issues: * https://github.com/tarantool/tarantool/issues/5845 * https://github.com/tarantool/tarantool/issues/5473 You can check the accuracy of the first patch with the following command: | $ diff --color -urZ test/PUC-Lua-5.1-tests/ ~/Downloads/lua5.1-tests/ Trailing whitespaces are stripped from test suites because: * They have no semantic charge (feel free to prove the opposite) * Lua 5.1 is not supported by Roberto, so these tests are not supported too, and there is no need to keep this suite "as is" so strict Sergey Kaplun (3): test: add PUC-Rio Lua 5.1 test suite test: adapt PUC-Rio Lua 5.1 test suite for LuaJIT test: adapt Lua 5.1 test suite for Tarantool .luacheckrc | 5 +- test/CMakeLists.txt | 4 +- test/PUC-Lua-5.1-tests/CMakeLists.txt | 92 ++ test/PUC-Lua-5.1-tests/README | 41 + test/PUC-Lua-5.1-tests/all.lua | 145 ++++ test/PUC-Lua-5.1-tests/api.lua | 711 +++++++++++++++ test/PUC-Lua-5.1-tests/attrib.lua | 339 ++++++++ test/PUC-Lua-5.1-tests/big.lua | 381 ++++++++ test/PUC-Lua-5.1-tests/calls.lua | 294 +++++++ test/PUC-Lua-5.1-tests/checktable.lua | 77 ++ test/PUC-Lua-5.1-tests/closure.lua | 432 ++++++++++ test/PUC-Lua-5.1-tests/code.lua | 143 +++ test/PUC-Lua-5.1-tests/constructs.lua | 247 ++++++ test/PUC-Lua-5.1-tests/db.lua | 538 ++++++++++++ test/PUC-Lua-5.1-tests/errors.lua | 264 ++++++ test/PUC-Lua-5.1-tests/etc/ltests.c | 1147 +++++++++++++++++++++++++ test/PUC-Lua-5.1-tests/etc/ltests.h | 92 ++ test/PUC-Lua-5.1-tests/events.lua | 360 ++++++++ test/PUC-Lua-5.1-tests/files.lua | 324 +++++++ test/PUC-Lua-5.1-tests/gc.lua | 320 +++++++ test/PUC-Lua-5.1-tests/libs/lib1.c | 40 + test/PUC-Lua-5.1-tests/libs/lib11.c | 18 + test/PUC-Lua-5.1-tests/libs/lib2.c | 28 + test/PUC-Lua-5.1-tests/libs/lib21.c | 18 + test/PUC-Lua-5.1-tests/literals.lua | 181 ++++ test/PUC-Lua-5.1-tests/locals.lua | 127 +++ test/PUC-Lua-5.1-tests/main.lua | 195 +++++ test/PUC-Lua-5.1-tests/math.lua | 213 +++++ test/PUC-Lua-5.1-tests/nextvar.lua | 403 +++++++++ test/PUC-Lua-5.1-tests/pm.lua | 281 ++++++ test/PUC-Lua-5.1-tests/sort.lua | 74 ++ test/PUC-Lua-5.1-tests/strings.lua | 191 ++++ test/PUC-Lua-5.1-tests/vararg.lua | 134 +++ test/PUC-Lua-5.1-tests/verybig.lua | 102 +++ 34 files changed, 7958 insertions(+), 3 deletions(-) create mode 100644 test/PUC-Lua-5.1-tests/CMakeLists.txt create mode 100644 test/PUC-Lua-5.1-tests/README create mode 100755 test/PUC-Lua-5.1-tests/all.lua create mode 100644 test/PUC-Lua-5.1-tests/api.lua create mode 100644 test/PUC-Lua-5.1-tests/attrib.lua create mode 100644 test/PUC-Lua-5.1-tests/big.lua create mode 100644 test/PUC-Lua-5.1-tests/calls.lua create mode 100644 test/PUC-Lua-5.1-tests/checktable.lua create mode 100644 test/PUC-Lua-5.1-tests/closure.lua create mode 100644 test/PUC-Lua-5.1-tests/code.lua create mode 100644 test/PUC-Lua-5.1-tests/constructs.lua create mode 100644 test/PUC-Lua-5.1-tests/db.lua create mode 100644 test/PUC-Lua-5.1-tests/errors.lua create mode 100644 test/PUC-Lua-5.1-tests/etc/ltests.c create mode 100644 test/PUC-Lua-5.1-tests/etc/ltests.h create mode 100644 test/PUC-Lua-5.1-tests/events.lua create mode 100644 test/PUC-Lua-5.1-tests/files.lua create mode 100644 test/PUC-Lua-5.1-tests/gc.lua create mode 100644 test/PUC-Lua-5.1-tests/libs/lib1.c create mode 100644 test/PUC-Lua-5.1-tests/libs/lib11.c create mode 100644 test/PUC-Lua-5.1-tests/libs/lib2.c create mode 100644 test/PUC-Lua-5.1-tests/libs/lib21.c create mode 100644 test/PUC-Lua-5.1-tests/literals.lua create mode 100644 test/PUC-Lua-5.1-tests/locals.lua create mode 100644 test/PUC-Lua-5.1-tests/main.lua create mode 100644 test/PUC-Lua-5.1-tests/math.lua create mode 100644 test/PUC-Lua-5.1-tests/nextvar.lua create mode 100644 test/PUC-Lua-5.1-tests/pm.lua create mode 100644 test/PUC-Lua-5.1-tests/sort.lua create mode 100644 test/PUC-Lua-5.1-tests/strings.lua create mode 100644 test/PUC-Lua-5.1-tests/vararg.lua create mode 100644 test/PUC-Lua-5.1-tests/verybig.lua -- 2.28.0