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 C3D036B944; Tue, 13 Apr 2021 16:28:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C3D036B944 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1618320510; bh=OQ0jbmC3ZoArd/07kBZoQ+Gp804Zf+/T4KyKDX7eWBw=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=dGDm0Pfq2ou5V7jPDBUh+YhxFtmoiFvMHtzwnvqL6ithtSvb1yT+yQy9FH31GNU41 SYBdhXUwdvHh4oFpMnyYIoMya3si0qWDNdVg5GgAuZSmzQJWQLZL0MuyHcdGaEzHUL 0+zRajCSAalvzskJTIEyUtbTnqBFPE4t4MKkxmag= Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) (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 C80626BD2D for ; Tue, 13 Apr 2021 16:28:29 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C80626BD2D Received: by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1lWJ5g-0000dj-NC; Tue, 13 Apr 2021 16:28:29 +0300 To: Sergey Ostanevich , Igor Munkin Date: Tue, 13 Apr 2021 16:27:00 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E7480BE79914FF86F9151AC38CC435EA4A654182A05F538085040D920C7FD013C94B5DD42D157095BCD66F014CE181A31122F4ECD2687B6D31EAB X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE737AE489DBC023F2AEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637BB46061768088B55EA1F7E6F0F101C67CDEEF6D7F21E0D1D9295C2E9FA3191EE1B59CA4C82EFA658EB4CBDCA7430A8A55963F5BD394BBF6BF6B57BC7E64490618DEB871D839B73339E8FC8737B5C2249957A4DEDD2346B42CC7F00164DA146DAFE8445B8C89999729449624AB7ADAF37F6B57BC7E64490611E7FA7ABCAF51C92176DF2183F8FC7C0D9442B0B5983000E8941B15DA834481F9449624AB7ADAF372E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89F4AF35CDC74363304C6EABA9B74D0DA47B5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C4C7A0BC55FA0FE5FC7F657775A4D63968E59B6BD6FD64F48E1775F3D63D3D8153B1881A6453793CE9C32612AADDFBE0615AA02091FE41E1059510FB958DCE06DB6ED91DBE5ABE359A3485EE9140A7D39D1B2EFE7B39F7738393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34F05B761BB9C2AA44249DF37BA7F9A4CA5E6DB25E51A061563D3820F9967F938BCA12A40D66D2F19A1D7E09C32AA3244C650913E617A6E66DBD0BFC05E25A53C795A9E0DC41E9A4CF927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXiEOuydUIyPegVPQKpGKrsr X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4C54CEBA7DCCBC0670CB0C4669B49AB2C0E3566F52D99C81DF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit v3 00/29] 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: CI is red due to https://github.com/tarantool/tarantool/issues/5986. 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 Changes in the v3: * more verbose comments and commit messages * PUC-Lua-5.1-tests -> PUC-Rio-Lua-5.1-tests * squash commits for vararg functions * move "LuaJIT:" tag to the top of comments * introduce _dofile and _loadfile functions for PUC-Rio-Lua-5.1 suite and create test prerunner to set up them correctly for out-of-source build. Sergey Kaplun (29): test: add PUC-Rio Lua 5.1 test suite test: build auxiliary C libs from PUC-Rio Lua 5.1 test: adapt PUC-Rio suite for out-of-source build test: remove quotes in progname from PUC-Rio test: adapt PUC-Rio test for arg presence test: disable PUC-Rio tests confused by -v output test: disable PUC-Rio tests for bytecode header test: adapt PUC-Rio tests counting GC steps test: disable PUC-Rio suite tests for line hook test: adapt PUC-Rio tests with vararg functions test: adapt PUC-Rio test for debug in vararg func test: adapt PUC-Rio test with count hooks test: disable PUC-Rio test for tail call info test: adapt PUC-Rio test with activeline check test: disable PUC-Rio test for per-coroutine hooks test: adapt PUC-Rio test for %q in string.format test: disable locale-dependent PUC-Rio tests test: use math.fmod in PUC-Rio tests test: remove string.gfind assert in PUC-Rio test test: disable PUC-Rio test for getfenv in tailcall test: disable PUC-Rio test for variables in error test: disable PUC-Rio test for fast function name test: disable PUC-Rio test for non-asci identifier test: disable PUC-Rio test for syntax level error test: disable PUC-RIO tests for several -l options test: disable PUC-Rio test for checking arg layout test: disable PUC-Rio test checking -h option test: disable PUC-Rio hanging GC test test: disable too deep recursive PUC-Rio test .luacheckrc | 5 +- CMakeLists.txt | 4 +- test/CMakeLists.txt | 2 + test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt | 46 + test/PUC-Rio-Lua-5.1-tests/README | 41 + test/PUC-Rio-Lua-5.1-tests/all.lua | 144 +++ test/PUC-Rio-Lua-5.1-tests/api.lua | 711 ++++++++++ test/PUC-Rio-Lua-5.1-tests/attrib.lua | 339 +++++ test/PUC-Rio-Lua-5.1-tests/big.lua | 381 ++++++ test/PUC-Rio-Lua-5.1-tests/calls.lua | 294 +++++ test/PUC-Rio-Lua-5.1-tests/checktable.lua | 77 ++ test/PUC-Rio-Lua-5.1-tests/closure.lua | 432 +++++++ test/PUC-Rio-Lua-5.1-tests/code.lua | 143 ++ test/PUC-Rio-Lua-5.1-tests/constructs.lua | 242 ++++ test/PUC-Rio-Lua-5.1-tests/db.lua | 581 +++++++++ test/PUC-Rio-Lua-5.1-tests/errors.lua | 276 ++++ test/PUC-Rio-Lua-5.1-tests/etc/ltests.c | 1147 +++++++++++++++++ test/PUC-Rio-Lua-5.1-tests/etc/ltests.h | 92 ++ test/PUC-Rio-Lua-5.1-tests/events.lua | 360 ++++++ test/PUC-Rio-Lua-5.1-tests/files.lua | 324 +++++ test/PUC-Rio-Lua-5.1-tests/gc.lua | 325 +++++ .../PUC-Rio-Lua-5.1-tests/libs/CMakeLists.txt | 65 + test/PUC-Rio-Lua-5.1-tests/libs/lib1.c | 40 + test/PUC-Rio-Lua-5.1-tests/libs/lib11.c | 18 + test/PUC-Rio-Lua-5.1-tests/libs/lib2.c | 28 + test/PUC-Rio-Lua-5.1-tests/libs/lib21.c | 18 + test/PUC-Rio-Lua-5.1-tests/literals.lua | 181 +++ test/PUC-Rio-Lua-5.1-tests/locals.lua | 127 ++ test/PUC-Rio-Lua-5.1-tests/main.lua | 212 +++ test/PUC-Rio-Lua-5.1-tests/math.lua | 209 +++ test/PUC-Rio-Lua-5.1-tests/nextvar.lua | 397 ++++++ test/PUC-Rio-Lua-5.1-tests/pm.lua | 276 ++++ test/PUC-Rio-Lua-5.1-tests/sort.lua | 74 ++ test/PUC-Rio-Lua-5.1-tests/strings.lua | 217 ++++ test/PUC-Rio-Lua-5.1-tests/vararg.lua | 135 ++ test/PUC-Rio-Lua-5.1-tests/verybig.lua | 100 ++ test/luajit-test-init.lua | 18 + 37 files changed, 8077 insertions(+), 4 deletions(-) create mode 100644 test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt create mode 100644 test/PUC-Rio-Lua-5.1-tests/README create mode 100755 test/PUC-Rio-Lua-5.1-tests/all.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/api.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/attrib.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/big.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/calls.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/checktable.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/closure.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/code.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/constructs.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/db.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/errors.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/etc/ltests.c create mode 100644 test/PUC-Rio-Lua-5.1-tests/etc/ltests.h create mode 100644 test/PUC-Rio-Lua-5.1-tests/events.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/files.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/gc.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/libs/CMakeLists.txt create mode 100644 test/PUC-Rio-Lua-5.1-tests/libs/lib1.c create mode 100644 test/PUC-Rio-Lua-5.1-tests/libs/lib11.c create mode 100644 test/PUC-Rio-Lua-5.1-tests/libs/lib2.c create mode 100644 test/PUC-Rio-Lua-5.1-tests/libs/lib21.c create mode 100644 test/PUC-Rio-Lua-5.1-tests/literals.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/locals.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/main.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/math.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/nextvar.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/pm.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/sort.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/strings.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/vararg.lua create mode 100644 test/PUC-Rio-Lua-5.1-tests/verybig.lua create mode 100644 test/luajit-test-init.lua -- 2.31.0