[Tarantool-patches] [PATCH v2 luajit 0/2] Fix LuaJIT tests for old libc versions
Sergey Kaplun
skaplun at tarantool.org
Mon Dec 9 13:16:52 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
Changes in v2:
* Parse -E of #include <gnu/libc-version.h> instead of trying to run
or parse the name of the libc.so.6 to determine its version.
* Typo fixes
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 | 41 ++++++++++++++++++++
5 files changed, 60 insertions(+), 2 deletions(-)
create mode 100644 test/cmake/GetLibCVersion.cmake
--
2.47.0
More information about the Tarantool-patches
mailing list