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 650384BCFBD; Tue, 27 Jun 2023 16:43:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 650384BCFBD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1687873415; bh=cvXEIpwQSd02LwQNoW27D6zzSoaYVTO4mMIqrJXQ8xA=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=cfoAm5A1YLWUto5epQq3lPmzbK7JZNAEcV1EmxY2Q38s1VlJWUERd3D/0KATc7Ypx jaWOWGcZJ1P32k7C82f2VsGpbHQi3Pvct7pdcGsPSAZ6ha7EZJd1kk1Ixv/wlujona RAlynrPLjvnAqEx43fogE1Owx4VgG1nOo4qbZHu4= Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [95.163.41.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 69EA54BCFBD for ; Tue, 27 Jun 2023 16:43:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 69EA54BCFBD Received: by smtp46.i.mail.ru with esmtpa (envelope-from ) id 1qE8yj-007Gyd-En; Tue, 27 Jun 2023 16:43:33 +0300 Date: Tue, 27 Jun 2023 13:35:45 +0000 To: Sergey Kaplun , Maxim Kokryashkin , Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD91D67636EC9E920188AE937FDA81868F7ECC3AD6A98D329A66E3621050C10BCEAB28CB69DA5F057B4CF036047D0D17C07DE609CB20733CF4C08D917D6130B1AFB X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7AC4684DF4EC4B256EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006378D70459436292EC88638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8A56EEF1079116E2755DDB59DB2A296C7117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC8C7ADC89C2F0B2A5A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735200AC5B80A05675ACD618001F51B5FD3F9D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EED76C6ED7039589DE03CEA74F0D118906D8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE367F1C1C3ABB44F3AAD7EC71F1DB88427C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947C062BEEFFB5F8EA3E2E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89FB26E97DCB74E625257739F23D657EF2BB5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: 0D63561A33F958A56FD81D972DBCDD24B200AFBFA9A619187A34A9EE194E7FBBF87CCE6106E1FC07E67D4AC08A07B9B0A6C7FFFE744CA7FBCB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFC9C094DB4A95F2DC95F0E4901A09698058EC273BDBCC6B63DC78063754711FCCF964158C91B2A10B00E7A357E1073374CB4ED6DEC1B07AF46E699E01769F6673461A413F07889F2102C26D483E81D6BEECAEF3E2CCC1ED8C383653B6C8D9AE0FD16FCAA6493B703A X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojixJNJWk3cXI4yyW+wSnMYA== X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D531959F9522650B7C7541D13F80414FD97A805F7F09D2AC6B552326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 1/3] test: split utils.lua into several modules 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: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" A tiny fixup is coming... On 27.06.23, Igor Munkin wrote: > The next patch introduces a separate JIT-related module with convenient > utils for JIT engine testing. Considering this change it looks vital to > make a structured utils distributed module instead of "all in one" Lua > chunk. As a result the original utils.lua is split into the several > modules per subsystem to be tested (e.g. GC, frontend, profilers, etc.). > > Lazy loading of the introduced submodules allows to use this utils in > all test chunks regardless LuaJIT configuration (e.g. with JIT engine > disabled, without FFI support, etc) and do not spoil utils table with > the excess helpers. > > Signed-off-by: Igor Munkin > --- > > diff --git a/test/tarantool-tests/CMakeLists.txt b/test/tarantool-tests/CMakeLists.txt > index 527905b6..14a98cf2 100644 > --- a/test/tarantool-tests/CMakeLists.txt > +++ b/test/tarantool-tests/CMakeLists.txt > @@ -75,7 +75,7 @@ add_subdirectory(lj-flush-on-trace) > # directory), so LUA_PATH need to be updated. > make_lua_path(LUA_PATH > PATHS > - ${CMAKE_CURRENT_SOURCE_DIR}/?.lua Oops, this line was removed by mistake: in this case tap.lua can't be found. Removed this line back: ================================================================================ diff --git a/test/tarantool-tests/CMakeLists.txt b/test/tarantool-tests/CMakeLists.txt index 14a98cf2..b1211971 100644 --- a/test/tarantool-tests/CMakeLists.txt +++ b/test/tarantool-tests/CMakeLists.txt @@ -75,6 +75,7 @@ add_subdirectory(lj-flush-on-trace) # directory), so LUA_PATH need to be updated. make_lua_path(LUA_PATH PATHS + ${CMAKE_CURRENT_SOURCE_DIR}/?.lua ${CMAKE_CURRENT_SOURCE_DIR}/?/init.lua ${PROJECT_SOURCE_DIR}/tools/?.lua ${LUAJIT_SOURCE_DIR}/?.lua ================================================================================ > + ${CMAKE_CURRENT_SOURCE_DIR}/?/init.lua > ${PROJECT_SOURCE_DIR}/tools/?.lua > ${LUAJIT_SOURCE_DIR}/?.lua > ${LUAJIT_BINARY_DIR}/?.lua > -- > 2.30.2 > -- Best regards, IM