[Tarantool-patches] [PATCH luajit 0/7] Shrink test env and fix flaky tests

Sergey Kaplun skaplun at tarantool.org
Mon Sep 23 10:18:46 MSK 2024


This patchset shrinks the environment variables that are used in the
tarantool-tests suite. There will be no more huge, inconvenient
copy-pasting of LD_LIBRARY_PATH, LUA_CPATH. Also, it disables the flaky
profilers tests with the enabled table bump optimization.

Branch: https://github.com/tarantool/luajit/tree/skaplun/shrink-test-env
Related issue: https://github.com/tarantool/tarantool/issues/9898

Sergey Kaplun (7):
  test: move profilers tests to subdirectory
  test: rename <arm64-ccall-fp-convention.test.lua>
  cmake: introduce AppendTestEnvVar macro
  test: shrink LUA_PATH environment variable
  test: shrink LUA_CPATH and {DY}LD_LIBRARY_PATH
  test: skip flaky tests with enabled table bump
  test: set LD_PRELOAD only when necessary

 test/tarantool-tests/CMakeLists.txt           | 202 +++++++++++-------
 ...=> ffi-ccall-arm64-fp-convention.test.lua} |   2 +-
 .../gh-5688-tool-cli-flag.test.lua            |   2 +
 .../gh-5813-resolving-of-c-symbols.test.lua   |   2 +
 .../both/CMakeLists.txt                       |   0
 .../both/resboth.c                            |   0
 .../gnuhash/CMakeLists.txt                    |   0
 .../gnuhash/resgnuhash.c                      |   0
 .../hash/CMakeLists.txt                       |   0
 .../hash/reshash.c                            |   0
 .../stripped/CMakeLists.txt                   |   0
 .../stripped/resstripped.c                    |   0
 .../gh-5994-memprof-human-readable.test.lua   |   2 +
 ...4-add-proto-trace-sysprof-default.test.lua |   2 +
 ...17-profile-parsers-error-handling.test.lua |   2 +
 .../misclib-memprof-lapi.test.lua             |  16 +-
 .../misclib-sysprof-lapi.test.lua             |   2 +
 .../{ => profilers}/tools-utils-avl.test.lua  |   0
 18 files changed, 152 insertions(+), 80 deletions(-)
 rename test/tarantool-tests/{arm64-ccall-fp-convention.test.lua => ffi-ccall-arm64-fp-convention.test.lua} (96%)
 rename test/tarantool-tests/{ => profilers}/gh-5688-tool-cli-flag.test.lua (95%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols.test.lua (95%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/both/CMakeLists.txt (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/both/resboth.c (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/gnuhash/CMakeLists.txt (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/gnuhash/resgnuhash.c (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/hash/reshash.c (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/stripped/CMakeLists.txt (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols/stripped/resstripped.c (100%)
 rename test/tarantool-tests/{ => profilers}/gh-5994-memprof-human-readable.test.lua (93%)
 rename test/tarantool-tests/{ => profilers}/gh-7264-add-proto-trace-sysprof-default.test.lua (90%)
 rename test/tarantool-tests/{ => profilers}/gh-9217-profile-parsers-error-handling.test.lua (94%)
 rename test/tarantool-tests/{ => profilers}/misclib-memprof-lapi.test.lua (92%)
 rename test/tarantool-tests/{ => profilers}/misclib-sysprof-lapi.test.lua (96%)
 rename test/tarantool-tests/{ => profilers}/tools-utils-avl.test.lua (100%)

-- 
2.46.0



More information about the Tarantool-patches mailing list