Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit v3 00/29] Adapt PUC-Rio Lua 5.1 test suite
@ 2021-04-13 13:27 Sergey Kaplun via Tarantool-patches
  2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 01/29] test: add " Sergey Kaplun via Tarantool-patches
                   ` (29 more replies)
  0 siblings, 30 replies; 35+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2021-04-13 13:27 UTC (permalink / raw)
  To: Sergey Ostanevich, Igor Munkin; +Cc: 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 <luajit-tests-init.lua> 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


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

end of thread, other threads:[~2021-04-14 21:09 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 13:27 [Tarantool-patches] [PATCH luajit v3 00/29] Adapt PUC-Rio Lua 5.1 test suite Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 01/29] test: add " Sergey Kaplun via Tarantool-patches
2021-04-13 20:31   ` Igor Munkin via Tarantool-patches
2021-04-14 13:54     ` Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 02/29] test: build auxiliary C libs from PUC-Rio Lua 5.1 Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 03/29] test: adapt PUC-Rio suite for out-of-source build Sergey Kaplun via Tarantool-patches
2021-04-13 21:05   ` Igor Munkin via Tarantool-patches
2021-04-14 13:54     ` Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 04/29] test: remove quotes in progname from PUC-Rio Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 05/29] test: adapt PUC-Rio test for arg presence Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 06/29] test: disable PUC-Rio tests confused by -v output Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 07/29] test: disable PUC-Rio tests for bytecode header Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 08/29] test: adapt PUC-Rio tests counting GC steps Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 09/29] test: disable PUC-Rio suite tests for line hook Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 10/29] test: adapt PUC-Rio tests with vararg functions Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 11/29] test: adapt PUC-Rio test for debug in vararg func Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 12/29] test: adapt PUC-Rio test with count hooks Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 13/29] test: disable PUC-Rio test for tail call info Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 14/29] test: adapt PUC-Rio test with activeline check Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 15/29] test: disable PUC-Rio test for per-coroutine hooks Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 16/29] test: adapt PUC-Rio test for %q in string.format Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 17/29] test: disable locale-dependent PUC-Rio tests Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 18/29] test: use math.fmod in " Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 19/29] test: remove string.gfind assert in PUC-Rio test Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 20/29] test: disable PUC-Rio test for getfenv in tailcall Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 21/29] test: disable PUC-Rio test for variables in error Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 22/29] test: disable PUC-Rio test for fast function name Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 23/29] test: disable PUC-Rio test for non-asci identifier Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 24/29] test: disable PUC-Rio test for syntax level error Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 25/29] test: disable PUC-RIO tests for several -l options Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 26/29] test: disable PUC-Rio test for checking arg layout Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 27/29] test: disable PUC-Rio test checking -h option Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 28/29] test: disable PUC-Rio hanging GC test Sergey Kaplun via Tarantool-patches
2021-04-13 13:27 ` [Tarantool-patches] [PATCH luajit v3 29/29] test: disable too deep recursive PUC-Rio test Sergey Kaplun via Tarantool-patches
2021-04-14 21:08 ` [Tarantool-patches] [PATCH luajit v3 00/29] Adapt PUC-Rio Lua 5.1 test suite Igor Munkin 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