From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: Maxim Kokryashkin <m.kokryashkin@tarantool.org>, Sergey Bronnikov <sergeyb@tarantool.org> Cc: tarantool-patches@dev.tarantool.org Subject: [Tarantool-patches] [PATCH v2 luajit 0/7] Shrink test env and fix flaky tests Date: Tue, 24 Sep 2024 13:29:45 +0300 [thread overview] Message-ID: <cover.1727172936.git.skaplun@tarantool.org> (raw) 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 Changes in v2: Now BuildCTest accepts a list of tests as the last argument for which the LUA_CPATH and LD_LIBRARY_PATH will be set. Ugly fixup for profilers is gone. 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 | 178 ++++++++++-------- ...=> ffi-ccall-arm64-fp-convention.test.lua} | 2 +- test/tarantool-tests/ffi-ccall/CMakeLists.txt | 2 +- .../fix-bit-shift-generation/CMakeLists.txt | 3 +- .../gh-4427-ffi-sandwich/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- .../gh-6189-cur_L/CMakeLists.txt | 3 +- .../lj-1004-oom-error-frame/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- .../lj-1166-error-stitch/CMakeLists.txt | 6 +- .../lj-416-xor-before-jcc/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- .../lj-549-bytecode-loader/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- .../lj-601-fix-gc-finderrfunc/CMakeLists.txt | 3 +- .../lj-727-lightuserdata-itern/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- .../lj-flush-on-trace/CMakeLists.txt | 3 +- .../gh-5688-tool-cli-flag.test.lua | 2 + .../gh-5813-resolving-of-c-symbols.test.lua | 2 + .../both/CMakeLists.txt | 4 +- .../both/resboth.c | 0 .../gnuhash/CMakeLists.txt | 4 +- .../gnuhash/resgnuhash.c | 0 .../hash/CMakeLists.txt | 4 +- .../hash/reshash.c | 0 .../stripped/CMakeLists.txt | 4 +- .../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 34 files changed, 172 insertions(+), 102 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 (78%) 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 (77%) 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 (78%) 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 (75%) 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
next reply other threads:[~2024-09-24 10:30 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-09-24 10:29 Sergey Kaplun via Tarantool-patches [this message] 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 1/7] test: move profilers tests to subdirectory Sergey Kaplun via Tarantool-patches 2024-09-24 11:07 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:28 ` Maxim Kokryashkin via Tarantool-patches 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 2/7] test: rename <arm64-ccall-fp-convention.test.lua> Sergey Kaplun via Tarantool-patches 2024-09-24 11:07 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:29 ` Maxim Kokryashkin via Tarantool-patches 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 3/7] cmake: introduce AppendTestEnvVar macro Sergey Kaplun via Tarantool-patches 2024-09-24 11:07 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:30 ` Maxim Kokryashkin via Tarantool-patches 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 4/7] test: shrink LUA_PATH environment variable Sergey Kaplun via Tarantool-patches 2024-09-24 11:15 ` Sergey Bronnikov via Tarantool-patches 2024-09-24 11:33 ` Sergey Kaplun via Tarantool-patches [not found] ` <ZvO5g6ryIcyhM1vg@root> 2024-09-25 7:22 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:31 ` Maxim Kokryashkin via Tarantool-patches 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 5/7] test: shrink LUA_CPATH and {DY}LD_LIBRARY_PATH Sergey Kaplun via Tarantool-patches 2024-09-24 11:16 ` Sergey Bronnikov via Tarantool-patches 2024-09-24 11:28 ` Sergey Kaplun via Tarantool-patches 2024-09-24 14:18 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:37 ` Maxim Kokryashkin via Tarantool-patches 2024-10-12 7:00 ` Sergey Kaplun via Tarantool-patches 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 6/7] test: skip flaky tests with enabled table bump Sergey Kaplun via Tarantool-patches 2024-09-24 11:26 ` Sergey Bronnikov via Tarantool-patches 2024-09-24 11:45 ` Sergey Kaplun via Tarantool-patches 2024-09-24 14:17 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:38 ` Maxim Kokryashkin via Tarantool-patches 2024-09-24 10:29 ` [Tarantool-patches] [PATCH v2 luajit 7/7] test: set LD_PRELOAD only when necessary Sergey Kaplun via Tarantool-patches 2024-09-24 14:13 ` Sergey Bronnikov via Tarantool-patches 2024-09-24 15:23 ` Sergey Kaplun via Tarantool-patches 2024-09-24 17:41 ` Sergey Bronnikov via Tarantool-patches 2024-10-11 18:46 ` Maxim Kokryashkin via Tarantool-patches 2024-10-18 15:18 ` [Tarantool-patches] [PATCH v2 luajit 0/7] Shrink test env and fix flaky tests Sergey Kaplun via Tarantool-patches
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1727172936.git.skaplun@tarantool.org \ --to=tarantool-patches@dev.tarantool.org \ --cc=m.kokryashkin@tarantool.org \ --cc=sergeyb@tarantool.org \ --cc=skaplun@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2 luajit 0/7] Shrink test env and fix flaky tests' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox