Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Igor Munkin <imun@tarantool.org>,
	Sergey Ostanevich <sergos@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH luajit 0/3] Adapt PUC-Rio Lua 5.1 test suite
Date: Fri, 12 Mar 2021 08:36:21 +0300	[thread overview]
Message-ID: <cover.1615472551.git.skaplun@tarantool.org> (raw)

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


             reply	other threads:[~2021-03-12  5:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12  5:36 Sergey Kaplun via Tarantool-patches [this message]
2021-03-12  5:36 ` [Tarantool-patches] [PATCH luajit 1/3] test: add " Sergey Kaplun via Tarantool-patches
2021-03-16 13:35   ` Sergey Ostanevich via Tarantool-patches
2021-03-17 15:17     ` Igor Munkin via Tarantool-patches
2021-03-19 11:30       ` Sergey Kaplun via Tarantool-patches
2021-03-17 14:55   ` Igor Munkin via Tarantool-patches
2021-03-19 11:26     ` Sergey Kaplun via Tarantool-patches
2021-03-12  5:36 ` [Tarantool-patches] [PATCH luajit 2/3] test: adapt PUC-Rio Lua 5.1 test suite for LuaJIT Sergey Kaplun via Tarantool-patches
2021-03-13 19:04   ` Sergey Ostanevich via Tarantool-patches
2021-03-22 18:52   ` Igor Munkin via Tarantool-patches
2021-03-26  8:26     ` Sergey Kaplun via Tarantool-patches
2021-03-12  5:36 ` [Tarantool-patches] [PATCH luajit 3/3] test: adapt Lua 5.1 test suite for Tarantool Sergey Kaplun via Tarantool-patches
2021-03-13 19:07   ` Sergey Ostanevich via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1615472551.git.skaplun@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imun@tarantool.org \
    --cc=sergos@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit 0/3] Adapt PUC-Rio Lua 5.1 test suite' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox