[Tarantool-patches] [PATCH luajit 0/2] Fix LuaJIT tests for old libc versions

Sergey Kaplun skaplun at tarantool.org
Thu Dec 5 16:42:55 MSK 2024


This patch set consists of 2 patches:
The first allows the use of tags with number values in the LuaJIT-tests
suite runner <test.lua>. This is required for the second patch -- it
skips the `strtod parsing` test in <tonumber_scan.lua> for libc versions
older than 2.19, due to the bug [1] in it.

Branch:
https://github.com/tarantool/luajit/tree/skaplun/fix-luajit-tests-centos7
PR in the Tarantool with tests enabled:
https://github.com/tarantool/tarantool/pull/10824

Only sysprof-related tests are failing, this will be fixed in the
separate patch-set.

[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=16151

Sergey Kaplun (2):
  test: support number value of tag in LuaJIT-tests
  test: fix LuaJIT-tests for old libc version

 test/CMakeLists.txt                          |  1 +
 test/LuaJIT-tests/CMakeLists.txt             |  9 +++++
 test/LuaJIT-tests/lib/base/tonumber_scan.lua |  4 ++-
 test/LuaJIT-tests/test.lua                   |  7 +++-
 test/cmake/GetLibCVersion.cmake              | 35 ++++++++++++++++++++
 5 files changed, 54 insertions(+), 2 deletions(-)
 create mode 100644 test/cmake/GetLibCVersion.cmake

-- 
2.47.0



More information about the Tarantool-patches mailing list