[Tarantool-patches] [PATCH v1 0/5] Integrate lua-Harness test-suite

imeevma at tarantool.org imeevma at tarantool.org
Tue Jan 19 19:58:16 MSK 2021


This patch-set integrates lua-Harness test suite and makes it possible
to run it using Tarantool.

https://github.com/tarantool/tarantool/issues/4064
https://github.com/tarantool/tarantool/issues/4473
https://github.com/tarantool/luajit/tree/imeevma/gh-4064-integrate-harness-tests

@ChangeLog
 - Lua-Harness test suite added to luajit tests (gh-4473).

Mergen Imeev (5):
  tests: add lua-Harness test suite
  tests: adjust tests for Tarantool
  tests: disable 305-utf8 of lua-Harness suite
  tests: disable 241-standalone of lua-Harness suite
  tests: disable 411-luajit of lua-Harness suite

 test/CMakeLists.txt                           |   2 +
 test/lua-Harness/000-sanity.t                 |  54 ++
 test/lua-Harness/001-if.t                     |  88 ++
 test/lua-Harness/002-table.t                  |  67 ++
 test/lua-Harness/011-while.t                  |  89 ++
 test/lua-Harness/012-repeat.t                 |  85 ++
 test/lua-Harness/014-fornum.t                 | 151 +++
 test/lua-Harness/015-forlist.t                | 111 +++
 test/lua-Harness/090-tap.t                    |  37 +
 test/lua-Harness/091-profile.t                |  45 +
 test/lua-Harness/101-boolean.t                | 127 +++
 test/lua-Harness/102-function.t               | 206 +++++
 test/lua-Harness/103-nil.t                    | 127 +++
 test/lua-Harness/104-number.t                 | 246 +++++
 test/lua-Harness/105-string.t                 | 277 ++++++
 test/lua-Harness/106-table.t                  | 135 +++
 test/lua-Harness/107-thread.t                 | 135 +++
 test/lua-Harness/108-userdata.t               | 132 +++
 test/lua-Harness/200-examples.t               | 104 +++
 test/lua-Harness/201-assign.t                 | 150 +++
 test/lua-Harness/202-expr.t                   | 157 ++++
 test/lua-Harness/203-lexico.t                 | 143 +++
 test/lua-Harness/204-grammar.t                | 233 +++++
 test/lua-Harness/211-scope.t                  |  86 ++
 test/lua-Harness/212-function.t               | 288 ++++++
 test/lua-Harness/213-closure.t                |  98 ++
 test/lua-Harness/214-coroutine.t              | 244 +++++
 test/lua-Harness/221-table.t                  | 120 +++
 test/lua-Harness/222-constructor.t            | 119 +++
 test/lua-Harness/223-iterator.t               | 203 +++++
 test/lua-Harness/231-metatable.t              | 602 ++++++++++++
 test/lua-Harness/232-object.t                 | 314 +++++++
 test/lua-Harness/241-standalone.t             | 269 ++++++
 test/lua-Harness/242-luac.t                   | 341 +++++++
 test/lua-Harness/301-basic.t                  | 856 ++++++++++++++++++
 test/lua-Harness/303-package.t                | 290 ++++++
 test/lua-Harness/304-string.t                 | 633 +++++++++++++
 test/lua-Harness/305-utf8.t                   |  55 ++
 test/lua-Harness/306-table.t                  | 372 ++++++++
 test/lua-Harness/307-math.t                   | 375 ++++++++
 test/lua-Harness/308-io.t                     | 397 ++++++++
 test/lua-Harness/309-os.t                     | 271 ++++++
 test/lua-Harness/310-debug.t                  | 322 +++++++
 test/lua-Harness/311-bit32.t                  | 127 +++
 test/lua-Harness/314-regex.t                  | 222 +++++
 test/lua-Harness/320-stdin.t                  | 132 +++
 test/lua-Harness/401-bitop.t                  | 106 +++
 test/lua-Harness/402-ffi.t                    | 142 +++
 test/lua-Harness/403-jit.t                    | 163 ++++
 test/lua-Harness/404-ext.t                    | 171 ++++
 test/lua-Harness/411-luajit.t                 | 211 +++++
 test/lua-Harness/CMakeLists.txt               |  28 +
 test/lua-Harness/lexico52/lexico.t            |  45 +
 test/lua-Harness/lexico53/boolean.t           |  43 +
 test/lua-Harness/lexico53/function.t          |  66 ++
 test/lua-Harness/lexico53/lexico.t            |  30 +
 test/lua-Harness/lexico53/nil.t               |  43 +
 test/lua-Harness/lexico53/number.t            | 181 ++++
 test/lua-Harness/lexico53/string.t            | 169 ++++
 test/lua-Harness/lexico53/table.t             |  43 +
 test/lua-Harness/lexico53/thread.t            |  45 +
 test/lua-Harness/lexico53/userdata.t          |  45 +
 test/lua-Harness/lexico53/utf8.t              | 179 ++++
 test/lua-Harness/lexico54/lexico.t            |  19 +
 test/lua-Harness/lexico54/metatable.t         |  38 +
 test/lua-Harness/lexico54/utf8.t              |  54 ++
 test/lua-Harness/lexicojit/basic.t            |  27 +
 test/lua-Harness/lexicojit/ext.t              |  52 ++
 test/lua-Harness/lexicojit/lexico.t           |  32 +
 test/lua-Harness/profile.lua                  |  53 ++
 test/lua-Harness/profile_lua51.lua            |  46 +
 test/lua-Harness/profile_lua51_strict.lua     |  46 +
 test/lua-Harness/profile_lua52.lua            |  46 +
 test/lua-Harness/profile_lua52_strict.lua     |  46 +
 test/lua-Harness/profile_lua53.lua            |  52 ++
 test/lua-Harness/profile_lua53_noconv.lua     |  55 ++
 test/lua-Harness/profile_lua53_strict.lua     |  52 ++
 test/lua-Harness/profile_lua54.lua            |  52 ++
 test/lua-Harness/profile_lua54_noconv.lua     |  55 ++
 test/lua-Harness/profile_lua54_strict.lua     |  53 ++
 test/lua-Harness/profile_luajit20.lua         |  53 ++
 .../lua-Harness/profile_luajit20_compat52.lua |  53 ++
 test/lua-Harness/profile_luajit21.lua         |  53 ++
 .../lua-Harness/profile_luajit21_compat52.lua |  53 ++
 test/lua-Harness/profile_openresty.lua        |  53 ++
 test/lua-Harness/profile_ravi.lua             |  58 ++
 test/lua-Harness/profile_tiny_fork.lua        |  60 ++
 test/lua-Harness/rx_captures                  |  13 +
 test/lua-Harness/rx_charclass                 |  38 +
 test/lua-Harness/rx_metachars                 | 117 +++
 test/lua-Harness/tap_local.lua                | 213 +++++
 test/lua-Harness/tests_list                   |  47 +
 92 files changed, 12936 insertions(+)
 create mode 100755 test/lua-Harness/000-sanity.t
 create mode 100755 test/lua-Harness/001-if.t
 create mode 100755 test/lua-Harness/002-table.t
 create mode 100755 test/lua-Harness/011-while.t
 create mode 100755 test/lua-Harness/012-repeat.t
 create mode 100755 test/lua-Harness/014-fornum.t
 create mode 100755 test/lua-Harness/015-forlist.t
 create mode 100755 test/lua-Harness/090-tap.t
 create mode 100755 test/lua-Harness/091-profile.t
 create mode 100755 test/lua-Harness/101-boolean.t
 create mode 100755 test/lua-Harness/102-function.t
 create mode 100755 test/lua-Harness/103-nil.t
 create mode 100755 test/lua-Harness/104-number.t
 create mode 100755 test/lua-Harness/105-string.t
 create mode 100755 test/lua-Harness/106-table.t
 create mode 100755 test/lua-Harness/107-thread.t
 create mode 100755 test/lua-Harness/108-userdata.t
 create mode 100755 test/lua-Harness/200-examples.t
 create mode 100755 test/lua-Harness/201-assign.t
 create mode 100755 test/lua-Harness/202-expr.t
 create mode 100755 test/lua-Harness/203-lexico.t
 create mode 100755 test/lua-Harness/204-grammar.t
 create mode 100755 test/lua-Harness/211-scope.t
 create mode 100755 test/lua-Harness/212-function.t
 create mode 100755 test/lua-Harness/213-closure.t
 create mode 100755 test/lua-Harness/214-coroutine.t
 create mode 100755 test/lua-Harness/221-table.t
 create mode 100755 test/lua-Harness/222-constructor.t
 create mode 100755 test/lua-Harness/223-iterator.t
 create mode 100755 test/lua-Harness/231-metatable.t
 create mode 100755 test/lua-Harness/232-object.t
 create mode 100755 test/lua-Harness/241-standalone.t
 create mode 100755 test/lua-Harness/242-luac.t
 create mode 100755 test/lua-Harness/301-basic.t
 create mode 100755 test/lua-Harness/303-package.t
 create mode 100755 test/lua-Harness/304-string.t
 create mode 100755 test/lua-Harness/305-utf8.t
 create mode 100755 test/lua-Harness/306-table.t
 create mode 100755 test/lua-Harness/307-math.t
 create mode 100755 test/lua-Harness/308-io.t
 create mode 100755 test/lua-Harness/309-os.t
 create mode 100755 test/lua-Harness/310-debug.t
 create mode 100755 test/lua-Harness/311-bit32.t
 create mode 100755 test/lua-Harness/314-regex.t
 create mode 100755 test/lua-Harness/320-stdin.t
 create mode 100755 test/lua-Harness/401-bitop.t
 create mode 100755 test/lua-Harness/402-ffi.t
 create mode 100755 test/lua-Harness/403-jit.t
 create mode 100755 test/lua-Harness/404-ext.t
 create mode 100755 test/lua-Harness/411-luajit.t
 create mode 100644 test/lua-Harness/CMakeLists.txt
 create mode 100644 test/lua-Harness/lexico52/lexico.t
 create mode 100644 test/lua-Harness/lexico53/boolean.t
 create mode 100644 test/lua-Harness/lexico53/function.t
 create mode 100644 test/lua-Harness/lexico53/lexico.t
 create mode 100644 test/lua-Harness/lexico53/nil.t
 create mode 100644 test/lua-Harness/lexico53/number.t
 create mode 100644 test/lua-Harness/lexico53/string.t
 create mode 100644 test/lua-Harness/lexico53/table.t
 create mode 100644 test/lua-Harness/lexico53/thread.t
 create mode 100644 test/lua-Harness/lexico53/userdata.t
 create mode 100644 test/lua-Harness/lexico53/utf8.t
 create mode 100644 test/lua-Harness/lexico54/lexico.t
 create mode 100644 test/lua-Harness/lexico54/metatable.t
 create mode 100644 test/lua-Harness/lexico54/utf8.t
 create mode 100644 test/lua-Harness/lexicojit/basic.t
 create mode 100644 test/lua-Harness/lexicojit/ext.t
 create mode 100644 test/lua-Harness/lexicojit/lexico.t
 create mode 100644 test/lua-Harness/profile.lua
 create mode 100644 test/lua-Harness/profile_lua51.lua
 create mode 100644 test/lua-Harness/profile_lua51_strict.lua
 create mode 100644 test/lua-Harness/profile_lua52.lua
 create mode 100644 test/lua-Harness/profile_lua52_strict.lua
 create mode 100644 test/lua-Harness/profile_lua53.lua
 create mode 100644 test/lua-Harness/profile_lua53_noconv.lua
 create mode 100644 test/lua-Harness/profile_lua53_strict.lua
 create mode 100644 test/lua-Harness/profile_lua54.lua
 create mode 100644 test/lua-Harness/profile_lua54_noconv.lua
 create mode 100644 test/lua-Harness/profile_lua54_strict.lua
 create mode 100644 test/lua-Harness/profile_luajit20.lua
 create mode 100644 test/lua-Harness/profile_luajit20_compat52.lua
 create mode 100644 test/lua-Harness/profile_luajit21.lua
 create mode 100644 test/lua-Harness/profile_luajit21_compat52.lua
 create mode 100644 test/lua-Harness/profile_openresty.lua
 create mode 100644 test/lua-Harness/profile_ravi.lua
 create mode 100644 test/lua-Harness/profile_tiny_fork.lua
 create mode 100644 test/lua-Harness/rx_captures
 create mode 100644 test/lua-Harness/rx_charclass
 create mode 100644 test/lua-Harness/rx_metachars
 create mode 100644 test/lua-Harness/tap_local.lua
 create mode 100644 test/lua-Harness/tests_list

-- 
2.25.1



More information about the Tarantool-patches mailing list