From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 01C52E3204B; Tue, 24 Sep 2024 13:30:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 01C52E3204B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1727173812; bh=DCuojApruVzs30YVMJQAu4vKYvJgZsAhFVUnD7/1rU0=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=kzUsZJIjIzDyO8z+PSbdwn5f7eqLnuOGevE4Xar0kxu/gmyX8yEx2LlWhpHXqm/Pw wKJTBag5Zo+q5yIXCryovHWqJlfiOJYjRVpq+c0YL2ORzxSnd3yv5xF57HB845uJWu 0ihRVC8ekBW2Rab2GhLc32OGFDqIa4kjhYZS4nGg= Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [95.163.41.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id D8D49E3204B for ; Tue, 24 Sep 2024 13:30:10 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D8D49E3204B Received: by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1st2o4-000000024Sz-097W; Tue, 24 Sep 2024 13:30:08 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Tue, 24 Sep 2024 13:29:45 +0300 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD968D81A599CAF0ABB450FA052A5E40F6FAE526B00DDCCFEBE182A05F5380850409636378B6EFC4FC8F378A8CA21F699D64B5E3827E3C52F9D136038D1A3840DCD74892205136C5E50 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F10A50E66C9A7FE8C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE77D11F8E1324DAB15EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B043BF0FB74779F3644B4A5F9AA5BA7BE13E52454AC9094398347601D5FC498ECA471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7A29E2F051442AF778941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6B0E9FD5D4288160ECC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CF17B107DEF921CE791DD303D21008E298D5E8D9A59859A8B6D082881546D9349175ECD9A6C639B01B78DA827A17800CE778B471BB9634AD8A731C566533BA786AA5CC5B56E945C8DA X-C1DE0DAB: 0D63561A33F958A555FA5169BF8171FA5002B1117B3ED6961EC542E64BD1E8A31A1B8FE1FED62FE8823CB91A9FED034534781492E4B8EEAD5C661552D0158648C79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF99667E2B84AC516FBB8AC599D9E89C4821ECD7B3AD19335BEFE224C405BD57A8257E6C4F5EEB673EA4322FFB9F042FEF4DEC8DE103746ECBD27CCE5B6EF53172E7CE0EAE2B2B1169C226CC413062362A913E6812662D5F2A5EAB5682573093F7837F15F2B5E4A70B33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojamSMdo1tbG++kOQJaiO+aA== X-DA7885C5: 37441D0650D16879F255D290C0D534F9333BBFA2CD97012C831C2B5D9869DC125A4C6CACE7E038D35B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F7393C6D0B12EA33CAA9BEE7F1C209B0FFA69598E7FB0904C86B3BE5BD675288B194BE49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 luajit 0/7] Shrink test env and fix flaky tests X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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 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