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 C76616F3C7; Fri, 26 Mar 2021 10:44:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C76616F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616744648; bh=k39G2YvOHZjG2sqzLzkoaPZQPugYIC+AyhGQJ+yEieU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ZxEw4b4Nw7NohiKxsATOHy/ffkUq1LpHkKdOJD4q0XW1TRDCueLeHxfTVG183D/SI DMLLlgOdaROu3SV9HAchx3csk6lb021XCJTcfanoJUWm0bEZHy697N9o6AGAANyYXF m4JMVv42CbEzp3TWe+/UwQTNFvIw/d0jtlZVq0kU= 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 253516F3C7 for ; Fri, 26 Mar 2021 10:44:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 253516F3C7 Received: by smtp63.i.mail.ru with esmtpa (envelope-from ) id 1lPh8Y-00042u-Sd; Fri, 26 Mar 2021 10:44:07 +0300 To: Sergey Ostanevich , Igor Munkin Date: Fri, 26 Mar 2021 10:42:43 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9064ADF4728AA0EE9587C800CEAD38A69F042767B24605C2B182A05F538085040350E24D8E0FE4840F90CF666229602DBE72DCEDC2A604F0245850228F65006C4 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE751DD1FEBB966604DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637629A2DB6D7098C1B8638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C5DD32608FC869F5D5E0A76821452E1A6DCF9735668460AEFA471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7328B01A8D746D8839FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C317B107DEF921CE79117882F4460429728AD0CFFFB425014E868A13BD56FB6657E2021AF6380DFAD1A18204E546F3947C0B7D0EA88DDEDAC722CA9DD8327EE4930A3850AC1BE2E735B58781B77DE60D36C4224003CC83647689D4C264860C145E X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C4C7A0BC55FA0FE5FC522CCF267CC2B9BF8C49F77C67EF99DAC68058592B32F068B1881A6453793CE9C32612AADDFBE061F2CC70E799B957599510FB958DCE06DB6ED91DBE5ABE359A3485EE9140A7D39D1F9270390973918F93EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34047E322BFAFD69BDBCAC9F0C6EB572B00203DE93CDBD1F02ABC7C2E5DA7EBFA9853AE8F7EA81F9741D7E09C32AA3244C4DD4AD4CE0DADBC9B17D2936717800A7D9ADFF0C0BDB8D1F927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXjAl3/HzQfjo8DRdw6mbP1d X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4F0B84A29E4C56928C37CE200D0FCECB7F508172D87B6EC99F2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 luajit 00/30] 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" Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-5845-adapt-puc-rio-test-suite-v2 Test branch: https://github.com/tarantool/tarantool/tree/skaplun/gh-5845-adapt-puc-rio-test-suite-v2 Side note: I reword commit about variable names in error messages a little, so the commit is different but the conten is the same. Issues: * https://github.com/tarantool/tarantool/issues/5845 * https://github.com/tarantool/tarantool/issues/4473 Suite is taken intact exept trailing whitespaces. Command to check: | $ diff -ruZ --color ../test/PUC-Lua-5.1-tests/ ~/Downloads/lua5.1-tests/ | Only in ../test/PUC-Lua-5.1-tests/: CMakeLists.txt | Only in ../test/PUC-Lua-5.1-tests/libs: CMakeLists.txt | Only in ~/Downloads/lua5.1-tests/libs: makefile | Only in ~/Downloads/lua5.1-tests/libs: P1 Changes in the v2: * split commits to atomic changes * more verbose comments for some tests * some test fixed instead commenting Sergey Kaplun (30): test: add PUC-Rio Lua 5.1 test suite test: add compiling for C libs from PUC-Rio-Lua5.1 test: adapt Lua 5.1 suite for out-of-source build test: remove quotes in progname from test: adapt arg availability test from Lua suite test: disable PUC Lua tests confused by -v output test: disable Lua tests for bytecode with header test: disable JIT for GC step counting tests test: disable Lua suite tests for line hook test: adapt test for debug.setlocal in Lua suite test: adapt getlocal PUC test for vararg func test: adapt PUC Lua test with count hooks test: disable PUC Lua test for tail call info test: adapt activeline check in the PUC Lua test test: disable PUC-Lua test for per-coroutine hooks test: adapt PUC Lua test for %q in fmt for LuaJIT test: disable locale-depended tests for Lua suite test: replace math.mod to math.fmod for Lua tests test: remove assert for string.gfind check test: adapt PUC Lua test for args in vararg func test: disable test for getfenv in closure tailcall test: disable PUC Lua test for var names in error test: disable PUC Lua test for fast function name test: disable PUC Lua test for non-asci identifier test: disable PUC Lua error test for syntax level test: disable tests with multiple -l options test: disable PUC Lua test for checking arg layout test: disable PUC Lua test checking -h option test: disable PUC Lua hanging GC test test: disable too depth recursive PUC Lua test .luacheckrc | 5 +- test/CMakeLists.txt | 2 + test/PUC-Lua-5.1-tests/CMakeLists.txt | 46 + test/PUC-Lua-5.1-tests/README | 41 + test/PUC-Lua-5.1-tests/all.lua | 146 +++ 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 | 430 ++++++++ test/PUC-Lua-5.1-tests/code.lua | 143 +++ test/PUC-Lua-5.1-tests/constructs.lua | 242 +++++ test/PUC-Lua-5.1-tests/db.lua | 576 ++++++++++ test/PUC-Lua-5.1-tests/errors.lua | 269 +++++ 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 | 325 ++++++ test/PUC-Lua-5.1-tests/libs/CMakeLists.txt | 64 ++ 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 | 212 ++++ test/PUC-Lua-5.1-tests/math.lua | 209 ++++ test/PUC-Lua-5.1-tests/nextvar.lua | 397 +++++++ test/PUC-Lua-5.1-tests/pm.lua | 276 +++++ 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 ++ 35 files changed, 8019 insertions(+), 2 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/CMakeLists.txt 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.31.0