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 452566F3C0; Fri, 12 Mar 2021 08:28:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 452566F3C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615526910; bh=5Jc9dZWGh5ngHYaM5UGVYbIM7BKq9PfqoXOGnJtPwiY=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=xwd17FAFEjg0uzYDIL/pQtUCcyO7twwRGN1l2k8oWYAsSGZsWw0ciJmDv6ep0frS2 Kvmdr3NDzQpAy1zYibTu8nea9SNjT/HHQ2dKJOFYdMk0/cnDzsJRC5xnmi3xTi5AzH ot6ZsaJ1deT53Rfdtze3SwgzHZRuL2CN2VwOnc3Q= Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (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 0965D6F3C0 for ; Fri, 12 Mar 2021 08:28:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0965D6F3C0 Received: by smtp56.i.mail.ru with esmtpa (envelope-from ) id 1lKaLb-0000YU-NL; Fri, 12 Mar 2021 08:28:28 +0300 To: Sergey Ostanevich , Igor Munkin Date: Fri, 12 Mar 2021 08:27:28 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9EC9B6B2B0ADCE374F838F37748CA31B6AD9E36FDBA71FD0E182A05F53808504050FF5937DBB032BF145B1E2DD0436929790F844B0EFB9A12EF7FD7BDD1B55B6E X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7B9D6DADD6B53929DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637770CCD3A0ADFB7EEEA1F7E6F0F101C67CDEEF6D7F21E0D1D174C73DBBBFC766478C099428E6655C8F2BBD5621FB0896C4667DE26C93BF4D1389733CBF5DBD5E913377AFFFEAFD269A417C69337E82CC2CC7F00164DA146DAFE8445B8C89999729449624AB7ADAF37F6B57BC7E64490611E7FA7ABCAF51C92A417C69337E82CC2CC7F00164DA146DA6F5DAA56C3B73B23C77107234E2CFBA567F23339F89546C55F5C1EE8F4F765FC36BDB105DB14A96875ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE4930A3850AC1BE2E7355E97997F8902A7B9C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C11F5982A89E0728CA88E0C7CCC666803816AF3F5D4B039599C2B6934AE262D3EE7EAB7254005DCED41D154D92C01BDF11E0A4E2319210D9B64D260DF9561598F01A9E91200F654B02DA3D96DA0CEF5C48E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D347341ACA13FB8BDD996FAFEBA805BD0811D86AFB752478D7064637FA77BE8FA352E5DCD35642ACDF91D7E09C32AA3244C11684FEDE4B3E7ED57BC2394211E7A0F24AF4FAF06DA24FD927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojQNwI24iyQ+oz8qGrGM3srA== X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4B486E04662B96F3DC0B803CAF451073A8DDB6F74516933CBF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/6] Adapt lua-Harness 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 lua-Harness test suite is adapted for the LuaJIT fork and Tarantool. Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-5844-adapt-lua-harness-test-suite Tarantool's branch for tests: https://github.com/tarantool/tarantool/tree/skaplun/gh-5844-adapt-lua-harness-test-suite Issues: * https://github.com/tarantool/tarantool/issues/5844 * https://github.com/tarantool/tarantool/issues/5473 You can check the accuracy of the first patch with the following commands: | $ cd ~/tmp/lua-Harness && git remote -v && echo $(git log -n1) && cd - | origin https://framagit.org/fperrad/lua-Harness.git (fetch) | origin https://framagit.org/fperrad/lua-Harness.git (push) | commit a74be274d299dc299228dc7a09052759da9ceac4 Author: Francois Perrad Date: Wed Mar 3 15:15:59 2021 +0100 Makefile for lua-5.4.3-rc1 | | $ diff --color -ur ~/tmp/lua-Harness/test_lua/ test/lua-Harness-tests/ Mergen Imeev (2): test: add lua-Harness test suite test: adjust lua-Harness test suite for Tarantool Sergey Kaplun (4): test: disable 305-utf8 of lua-Harness suite test: disable 241-standalone of lua-Harness suite test: disable 411-luajit of lua-Harness suite test: skip test for getenv in 309-os.t .gitignore | 1 + .luacheckrc | 1 + test/CMakeLists.txt | 4 +- test/lua-Harness-tests/000-sanity.t | 54 ++ test/lua-Harness-tests/001-if.t | 88 ++ test/lua-Harness-tests/002-table.t | 67 ++ test/lua-Harness-tests/011-while.t | 89 ++ test/lua-Harness-tests/012-repeat.t | 85 ++ test/lua-Harness-tests/014-fornum.t | 151 +++ test/lua-Harness-tests/015-forlist.t | 111 +++ test/lua-Harness-tests/090-tap.t | 37 + test/lua-Harness-tests/091-profile.t | 45 + test/lua-Harness-tests/101-boolean.t | 127 +++ test/lua-Harness-tests/102-function.t | 206 +++++ test/lua-Harness-tests/103-nil.t | 127 +++ test/lua-Harness-tests/104-number.t | 246 +++++ test/lua-Harness-tests/105-string.t | 277 ++++++ test/lua-Harness-tests/106-table.t | 135 +++ test/lua-Harness-tests/107-thread.t | 135 +++ test/lua-Harness-tests/108-userdata.t | 132 +++ test/lua-Harness-tests/200-examples.t | 104 +++ test/lua-Harness-tests/201-assign.t | 150 +++ test/lua-Harness-tests/202-expr.t | 157 ++++ test/lua-Harness-tests/203-lexico.t | 147 +++ test/lua-Harness-tests/204-grammar.t | 233 +++++ test/lua-Harness-tests/211-scope.t | 86 ++ test/lua-Harness-tests/212-function.t | 288 ++++++ test/lua-Harness-tests/213-closure.t | 98 ++ test/lua-Harness-tests/214-coroutine.t | 244 +++++ test/lua-Harness-tests/221-table.t | 120 +++ test/lua-Harness-tests/222-constructor.t | 119 +++ test/lua-Harness-tests/223-iterator.t | 203 +++++ test/lua-Harness-tests/231-metatable.t | 602 ++++++++++++ test/lua-Harness-tests/232-object.t | 314 +++++++ .../241-standalone.t.disabled | 269 ++++++ test/lua-Harness-tests/242-luac.t | 341 +++++++ test/lua-Harness-tests/301-basic.t | 859 ++++++++++++++++++ test/lua-Harness-tests/303-package.t | 290 ++++++ test/lua-Harness-tests/304-string.t | 633 +++++++++++++ test/lua-Harness-tests/305-utf8.t.disabled | 55 ++ test/lua-Harness-tests/306-table.t | 372 ++++++++ test/lua-Harness-tests/307-math.t | 375 ++++++++ test/lua-Harness-tests/308-io.t | 397 ++++++++ test/lua-Harness-tests/309-os.t | 275 ++++++ test/lua-Harness-tests/310-debug.t | 322 +++++++ test/lua-Harness-tests/311-bit32.t | 127 +++ test/lua-Harness-tests/314-regex.t | 222 +++++ test/lua-Harness-tests/320-stdin.t | 133 +++ test/lua-Harness-tests/401-bitop.t | 106 +++ test/lua-Harness-tests/402-ffi.t | 142 +++ test/lua-Harness-tests/403-jit.t | 163 ++++ test/lua-Harness-tests/404-ext.t | 171 ++++ test/lua-Harness-tests/411-luajit.t.disabled | 211 +++++ test/lua-Harness-tests/CMakeLists.txt | 62 ++ test/lua-Harness-tests/lexico52/lexico.t | 45 + test/lua-Harness-tests/lexico53/boolean.t | 43 + test/lua-Harness-tests/lexico53/function.t | 66 ++ test/lua-Harness-tests/lexico53/lexico.t | 30 + test/lua-Harness-tests/lexico53/nil.t | 43 + test/lua-Harness-tests/lexico53/number.t | 181 ++++ test/lua-Harness-tests/lexico53/string.t | 169 ++++ test/lua-Harness-tests/lexico53/table.t | 43 + test/lua-Harness-tests/lexico53/thread.t | 45 + test/lua-Harness-tests/lexico53/userdata.t | 45 + test/lua-Harness-tests/lexico53/utf8.t | 179 ++++ test/lua-Harness-tests/lexico54/lexico.t | 19 + test/lua-Harness-tests/lexico54/metatable.t | 38 + test/lua-Harness-tests/lexico54/utf8.t | 54 ++ test/lua-Harness-tests/lexicojit/basic.t | 27 + test/lua-Harness-tests/lexicojit/ext.t | 52 ++ test/lua-Harness-tests/lexicojit/lexico.t | 32 + test/lua-Harness-tests/profile.lua | 53 ++ test/lua-Harness-tests/profile_lua51.lua | 46 + .../profile_lua51_strict.lua | 46 + test/lua-Harness-tests/profile_lua52.lua | 46 + .../profile_lua52_strict.lua | 46 + test/lua-Harness-tests/profile_lua53.lua | 52 ++ .../profile_lua53_noconv.lua | 55 ++ .../profile_lua53_strict.lua | 52 ++ test/lua-Harness-tests/profile_lua54.lua | 52 ++ .../profile_lua54_noconv.lua | 55 ++ .../profile_lua54_strict.lua | 53 ++ test/lua-Harness-tests/profile_luajit20.lua | 53 ++ .../profile_luajit20_compat52.lua | 53 ++ test/lua-Harness-tests/profile_luajit21.lua | 53 ++ .../profile_luajit21_compat52.lua | 53 ++ test/lua-Harness-tests/profile_openresty.lua | 53 ++ test/lua-Harness-tests/profile_ravi.lua | 58 ++ test/lua-Harness-tests/profile_tiny_fork.lua | 60 ++ test/lua-Harness-tests/rx_captures | 13 + test/lua-Harness-tests/rx_charclass | 38 + test/lua-Harness-tests/rx_metachars | 117 +++ test/lua-Harness-tests/tap_harness.lua | 212 +++++ 93 files changed, 12937 insertions(+), 1 deletion(-) create mode 100755 test/lua-Harness-tests/000-sanity.t create mode 100755 test/lua-Harness-tests/001-if.t create mode 100755 test/lua-Harness-tests/002-table.t create mode 100755 test/lua-Harness-tests/011-while.t create mode 100755 test/lua-Harness-tests/012-repeat.t create mode 100755 test/lua-Harness-tests/014-fornum.t create mode 100755 test/lua-Harness-tests/015-forlist.t create mode 100755 test/lua-Harness-tests/090-tap.t create mode 100755 test/lua-Harness-tests/091-profile.t create mode 100755 test/lua-Harness-tests/101-boolean.t create mode 100755 test/lua-Harness-tests/102-function.t create mode 100755 test/lua-Harness-tests/103-nil.t create mode 100755 test/lua-Harness-tests/104-number.t create mode 100755 test/lua-Harness-tests/105-string.t create mode 100755 test/lua-Harness-tests/106-table.t create mode 100755 test/lua-Harness-tests/107-thread.t create mode 100755 test/lua-Harness-tests/108-userdata.t create mode 100755 test/lua-Harness-tests/200-examples.t create mode 100755 test/lua-Harness-tests/201-assign.t create mode 100755 test/lua-Harness-tests/202-expr.t create mode 100755 test/lua-Harness-tests/203-lexico.t create mode 100755 test/lua-Harness-tests/204-grammar.t create mode 100755 test/lua-Harness-tests/211-scope.t create mode 100755 test/lua-Harness-tests/212-function.t create mode 100755 test/lua-Harness-tests/213-closure.t create mode 100755 test/lua-Harness-tests/214-coroutine.t create mode 100755 test/lua-Harness-tests/221-table.t create mode 100755 test/lua-Harness-tests/222-constructor.t create mode 100755 test/lua-Harness-tests/223-iterator.t create mode 100755 test/lua-Harness-tests/231-metatable.t create mode 100755 test/lua-Harness-tests/232-object.t create mode 100755 test/lua-Harness-tests/241-standalone.t.disabled create mode 100755 test/lua-Harness-tests/242-luac.t create mode 100755 test/lua-Harness-tests/301-basic.t create mode 100755 test/lua-Harness-tests/303-package.t create mode 100755 test/lua-Harness-tests/304-string.t create mode 100755 test/lua-Harness-tests/305-utf8.t.disabled create mode 100755 test/lua-Harness-tests/306-table.t create mode 100755 test/lua-Harness-tests/307-math.t create mode 100755 test/lua-Harness-tests/308-io.t create mode 100755 test/lua-Harness-tests/309-os.t create mode 100755 test/lua-Harness-tests/310-debug.t create mode 100755 test/lua-Harness-tests/311-bit32.t create mode 100755 test/lua-Harness-tests/314-regex.t create mode 100755 test/lua-Harness-tests/320-stdin.t create mode 100755 test/lua-Harness-tests/401-bitop.t create mode 100755 test/lua-Harness-tests/402-ffi.t create mode 100755 test/lua-Harness-tests/403-jit.t create mode 100755 test/lua-Harness-tests/404-ext.t create mode 100755 test/lua-Harness-tests/411-luajit.t.disabled create mode 100644 test/lua-Harness-tests/CMakeLists.txt create mode 100644 test/lua-Harness-tests/lexico52/lexico.t create mode 100644 test/lua-Harness-tests/lexico53/boolean.t create mode 100644 test/lua-Harness-tests/lexico53/function.t create mode 100644 test/lua-Harness-tests/lexico53/lexico.t create mode 100644 test/lua-Harness-tests/lexico53/nil.t create mode 100644 test/lua-Harness-tests/lexico53/number.t create mode 100644 test/lua-Harness-tests/lexico53/string.t create mode 100644 test/lua-Harness-tests/lexico53/table.t create mode 100644 test/lua-Harness-tests/lexico53/thread.t create mode 100644 test/lua-Harness-tests/lexico53/userdata.t create mode 100644 test/lua-Harness-tests/lexico53/utf8.t create mode 100644 test/lua-Harness-tests/lexico54/lexico.t create mode 100644 test/lua-Harness-tests/lexico54/metatable.t create mode 100644 test/lua-Harness-tests/lexico54/utf8.t create mode 100644 test/lua-Harness-tests/lexicojit/basic.t create mode 100644 test/lua-Harness-tests/lexicojit/ext.t create mode 100644 test/lua-Harness-tests/lexicojit/lexico.t create mode 100644 test/lua-Harness-tests/profile.lua create mode 100644 test/lua-Harness-tests/profile_lua51.lua create mode 100644 test/lua-Harness-tests/profile_lua51_strict.lua create mode 100644 test/lua-Harness-tests/profile_lua52.lua create mode 100644 test/lua-Harness-tests/profile_lua52_strict.lua create mode 100644 test/lua-Harness-tests/profile_lua53.lua create mode 100644 test/lua-Harness-tests/profile_lua53_noconv.lua create mode 100644 test/lua-Harness-tests/profile_lua53_strict.lua create mode 100644 test/lua-Harness-tests/profile_lua54.lua create mode 100644 test/lua-Harness-tests/profile_lua54_noconv.lua create mode 100644 test/lua-Harness-tests/profile_lua54_strict.lua create mode 100644 test/lua-Harness-tests/profile_luajit20.lua create mode 100644 test/lua-Harness-tests/profile_luajit20_compat52.lua create mode 100644 test/lua-Harness-tests/profile_luajit21.lua create mode 100644 test/lua-Harness-tests/profile_luajit21_compat52.lua create mode 100644 test/lua-Harness-tests/profile_openresty.lua create mode 100644 test/lua-Harness-tests/profile_ravi.lua create mode 100644 test/lua-Harness-tests/profile_tiny_fork.lua create mode 100644 test/lua-Harness-tests/rx_captures create mode 100644 test/lua-Harness-tests/rx_charclass create mode 100644 test/lua-Harness-tests/rx_metachars create mode 100644 test/lua-Harness-tests/tap_harness.lua -- 2.28.0