Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit 0/3] Adapt PUC-Rio Lua 5.1 test suite
@ 2021-03-12  5:36 Sergey Kaplun via Tarantool-patches
  2021-03-12  5:36 ` [Tarantool-patches] [PATCH luajit 1/3] test: add " Sergey Kaplun via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2021-03-12  5:36 UTC (permalink / raw)
  To: Igor Munkin, Sergey Ostanevich; +Cc: 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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-03-26  8:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12  5:36 [Tarantool-patches] [PATCH luajit 0/3] Adapt PUC-Rio Lua 5.1 test suite Sergey Kaplun via Tarantool-patches
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

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