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 669EAE3204C; Tue, 24 Sep 2024 13:30:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 669EAE3204C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1727173843; bh=qABDRoLYShSk+pYWmpNQf6zU1vLlUpQVKVootFKY3uk=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=pEn/fbyDqK6gvUzyQLFmjr5jAmPP1rxmrNavswlaPlN3Rxe7T4v16kED23bxMna1I v4UivGhIQpuVtxdeb1E9ajMaplyTC0m/wvajA2DiYNE+YfoeBUY4YxE3IgmnQFo8x3 ln45qIqblnBih9GOnw7EFWF2rawXh/7VQHbjIj6U= 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 099EBE3204C for ; Tue, 24 Sep 2024 13:30:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 099EBE3204C Received: by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1st2o5-000000024Sz-0l1D; Tue, 24 Sep 2024 13:30:09 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Tue, 24 Sep 2024 13:29:46 +0300 Message-ID: <15363d640417882c6c509260dd63f13bc9f978ed.1727172936.git.skaplun@tarantool.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD941CBEC3D08EBAA0971DA4E6AFD7BE56DAC55D89031953764182A05F5380850404C228DA9ACA6FE27E432A5F6750517A1F378A8CA21F699D6E34DD6EE44255FA9136038D1A3840DCD61CD1C36FF7CC69F X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A27CE1C94F35B64FEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637CBFD375033C6DCE68638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8BAD201CE564179AB47D5332523126BA182C808C4EE833CBDCC7F00164DA146DAFE8445B8C89999728AA50765F7900637DCE3DBD6F8E38AFD389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8744B801E316CB65FF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE33AC447995A7AD182BEBFE083D3B9BA73A03B725D353964B2FFDA4F57982C5F435872C767BF85DA227C277FBC8AE2E8B53A69B3AC30C7B9475ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A5A773CAA48D2E226C5002B1117B3ED6964AD18BE6F2DD0E093E67C18142C611B7823CB91A9FED034534781492E4B8EEADF1165EFABA1780A6C79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF8E0BBACB42BE96C467AA649CF6AC17E4D0A23715D10CC22D0FB5AD214EA60692245B1B6CBED8166AA4322FFB9F042FEF87BED8F59C7F21CFD27CCE5B6EF531720E0144048CA6DCDEC226CC413062362A913E6812662D5F2A5EAB5682573093F7837F15F2B5E4A70B33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojamSMdo1tbG9xtYCAJfz9SQ== X-DA7885C5: 6CBA1447F90908A0F255D290C0D534F9785389A33D2D62A0AE5CBDC6235D52C20CFD353425824BE75B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F7393C6D0B12EA33CAA9B2991F19282F2DBE6598E7FB0904C86B3E4BACBA4C7E84AA3E49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 luajit 1/7] test: move profilers tests to subdirectory 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 patch moves tests for Tarantool's profilers like memprof and sysprof to the corresponding subdirectory. It is useful when we want to change the properties for these tests only. Needed for tarantool/tarantool#9898 --- test/tarantool-tests/CMakeLists.txt | 10 +++++----- .../{ => profilers}/gh-5688-tool-cli-flag.test.lua | 0 .../gh-5813-resolving-of-c-symbols.test.lua | 0 .../gh-5813-resolving-of-c-symbols/both/CMakeLists.txt | 0 .../gh-5813-resolving-of-c-symbols/both/resboth.c | 0 .../gnuhash/CMakeLists.txt | 0 .../gnuhash/resgnuhash.c | 0 .../gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt | 0 .../gh-5813-resolving-of-c-symbols/hash/reshash.c | 0 .../stripped/CMakeLists.txt | 0 .../stripped/resstripped.c | 0 .../gh-5994-memprof-human-readable.test.lua | 0 .../gh-7264-add-proto-trace-sysprof-default.test.lua | 0 .../gh-9217-profile-parsers-error-handling.test.lua | 0 .../{ => profilers}/misclib-memprof-lapi.test.lua | 0 .../{ => profilers}/misclib-sysprof-lapi.test.lua | 0 .../{ => profilers}/tools-utils-avl.test.lua | 0 17 files changed, 5 insertions(+), 5 deletions(-) rename test/tarantool-tests/{ => profilers}/gh-5688-tool-cli-flag.test.lua (100%) rename test/tarantool-tests/{ => profilers}/gh-5813-resolving-of-c-symbols.test.lua (100%) 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 (100%) rename test/tarantool-tests/{ => profilers}/gh-7264-add-proto-trace-sysprof-default.test.lua (100%) rename test/tarantool-tests/{ => profilers}/gh-9217-profile-parsers-error-handling.test.lua (100%) rename test/tarantool-tests/{ => profilers}/misclib-memprof-lapi.test.lua (100%) rename test/tarantool-tests/{ => profilers}/misclib-sysprof-lapi.test.lua (100%) rename test/tarantool-tests/{ => profilers}/tools-utils-avl.test.lua (100%) diff --git a/test/tarantool-tests/CMakeLists.txt b/test/tarantool-tests/CMakeLists.txt index 0bd3e6fc..11a84496 100644 --- a/test/tarantool-tests/CMakeLists.txt +++ b/test/tarantool-tests/CMakeLists.txt @@ -21,10 +21,6 @@ endmacro() add_subdirectory(ffi-ccall) add_subdirectory(fix-bit-shift-generation) add_subdirectory(gh-4427-ffi-sandwich) -add_subdirectory(gh-5813-resolving-of-c-symbols/both) -add_subdirectory(gh-5813-resolving-of-c-symbols/hash) -add_subdirectory(gh-5813-resolving-of-c-symbols/gnuhash) -add_subdirectory(gh-5813-resolving-of-c-symbols/stripped) add_subdirectory(gh-6098-fix-side-exit-patching-on-arm64) add_subdirectory(gh-6189-cur_L) add_subdirectory(lj-416-xor-before-jcc) @@ -38,6 +34,10 @@ add_subdirectory(lj-flush-on-trace) add_subdirectory(lj-1004-oom-error-frame) add_subdirectory(lj-1066-fix-cur_L-after-coroutine-resume) add_subdirectory(lj-1166-error-stitch) +add_subdirectory(profilers/gh-5813-resolving-of-c-symbols/both) +add_subdirectory(profilers/gh-5813-resolving-of-c-symbols/gnuhash) +add_subdirectory(profilers/gh-5813-resolving-of-c-symbols/hash) +add_subdirectory(profilers/gh-5813-resolving-of-c-symbols/stripped) # The part of the memory profiler toolchain is located in tools # directory, jit, profiler, and bytecode toolchains are located @@ -121,7 +121,7 @@ add_test_suite_target(tarantool-tests file(GLOB_RECURSE tests ${CMAKE_CURRENT_SOURCE_DIR} "*${LUA_TEST_SUFFIX}") foreach(test_path ${tests}) - get_filename_component(test_name ${test_path} NAME) + file(RELATIVE_PATH test_name ${CMAKE_CURRENT_SOURCE_DIR} ${test_path}) set(test_title "test/${TEST_SUITE_NAME}/${test_name}") add_test(NAME ${test_title} COMMAND ${LUAJIT_TEST_COMMAND} ${test_path} diff --git a/test/tarantool-tests/gh-5688-tool-cli-flag.test.lua b/test/tarantool-tests/profilers/gh-5688-tool-cli-flag.test.lua similarity index 100% rename from test/tarantool-tests/gh-5688-tool-cli-flag.test.lua rename to test/tarantool-tests/profilers/gh-5688-tool-cli-flag.test.lua diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols.test.lua b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols.test.lua similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols.test.lua rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols.test.lua diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/both/CMakeLists.txt b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/both/CMakeLists.txt similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/both/CMakeLists.txt rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/both/CMakeLists.txt diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/both/resboth.c b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/both/resboth.c similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/both/resboth.c rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/both/resboth.c diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/gnuhash/CMakeLists.txt b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/gnuhash/CMakeLists.txt similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/gnuhash/CMakeLists.txt rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/gnuhash/CMakeLists.txt diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/gnuhash/resgnuhash.c b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/gnuhash/resgnuhash.c similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/gnuhash/resgnuhash.c rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/gnuhash/resgnuhash.c diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/hash/CMakeLists.txt diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/hash/reshash.c b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/hash/reshash.c similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/hash/reshash.c rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/hash/reshash.c diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/stripped/CMakeLists.txt b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/stripped/CMakeLists.txt similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/stripped/CMakeLists.txt rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/stripped/CMakeLists.txt diff --git a/test/tarantool-tests/gh-5813-resolving-of-c-symbols/stripped/resstripped.c b/test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/stripped/resstripped.c similarity index 100% rename from test/tarantool-tests/gh-5813-resolving-of-c-symbols/stripped/resstripped.c rename to test/tarantool-tests/profilers/gh-5813-resolving-of-c-symbols/stripped/resstripped.c diff --git a/test/tarantool-tests/gh-5994-memprof-human-readable.test.lua b/test/tarantool-tests/profilers/gh-5994-memprof-human-readable.test.lua similarity index 100% rename from test/tarantool-tests/gh-5994-memprof-human-readable.test.lua rename to test/tarantool-tests/profilers/gh-5994-memprof-human-readable.test.lua diff --git a/test/tarantool-tests/gh-7264-add-proto-trace-sysprof-default.test.lua b/test/tarantool-tests/profilers/gh-7264-add-proto-trace-sysprof-default.test.lua similarity index 100% rename from test/tarantool-tests/gh-7264-add-proto-trace-sysprof-default.test.lua rename to test/tarantool-tests/profilers/gh-7264-add-proto-trace-sysprof-default.test.lua diff --git a/test/tarantool-tests/gh-9217-profile-parsers-error-handling.test.lua b/test/tarantool-tests/profilers/gh-9217-profile-parsers-error-handling.test.lua similarity index 100% rename from test/tarantool-tests/gh-9217-profile-parsers-error-handling.test.lua rename to test/tarantool-tests/profilers/gh-9217-profile-parsers-error-handling.test.lua diff --git a/test/tarantool-tests/misclib-memprof-lapi.test.lua b/test/tarantool-tests/profilers/misclib-memprof-lapi.test.lua similarity index 100% rename from test/tarantool-tests/misclib-memprof-lapi.test.lua rename to test/tarantool-tests/profilers/misclib-memprof-lapi.test.lua diff --git a/test/tarantool-tests/misclib-sysprof-lapi.test.lua b/test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua similarity index 100% rename from test/tarantool-tests/misclib-sysprof-lapi.test.lua rename to test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua diff --git a/test/tarantool-tests/tools-utils-avl.test.lua b/test/tarantool-tests/profilers/tools-utils-avl.test.lua similarity index 100% rename from test/tarantool-tests/tools-utils-avl.test.lua rename to test/tarantool-tests/profilers/tools-utils-avl.test.lua -- 2.46.0