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 AA8B46F3C1; Thu, 11 Mar 2021 11:43:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org AA8B46F3C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615452211; bh=lFyFSh/nZ5nlgFNcJ0E2ycnxvod7rHDPRC9uZHXoy5o=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Mrog/ULLIJpNKLx9G6Uq53squ8JWHE/n/1gDVIg5CfPkxUHG/lUclWVj1JIICTWJF 6NXar0z0DYj1t3OB3z22DInXootLUylP3b+NvjGDimh/0aAeAIlz1GKCcieXnU62Hf 8rFxQGavBJsBWgyeb9UCiKOlLsRpO19yXM+cdjIo= Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 A37BB6F3C1 for ; Thu, 11 Mar 2021 11:43:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A37BB6F3C1 Received: by smtp16.mail.ru with esmtpa (envelope-from ) id 1lKGun-00039r-Er; Thu, 11 Mar 2021 11:43:29 +0300 Date: Thu, 11 Mar 2021 11:42:40 +0300 To: Alexander Turenko Message-ID: <20210311084240.GK6842@root> References: <20210310093905.23181-1-skaplun@tarantool.org> <20210311080506.dhv6xxvqt3ohvuif@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210311080506.dhv6xxvqt3ohvuif@tkn_work_nb> X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D3134714A9BDB69B7D7089AC2F541D13D72A77FF59123A9B00894C459B0CD1B92A2AB689043C8F6548CF2698679FB6821346763C52D379A21313137BD0912F42 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE75644E22E05AA81AEB287FD4696A6DC2FA8DF7F3B2552694A4E2F5AFA99E116B42401471946AA11AF0E30A4C9C8E338DA9B25D085E9A31DCF8F08D7030A58E5ADC58D69EE07B14084C6CDE5D1141D2B1C6772499111009E7BA4C6DD0D948C4F7A28014032F01BAF099FA2833FD35BB23D9E625A9149C048EE9ECD01F8117BC8BEA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18C26CFBAC0749D213D2E47CDBA5A96583BA9C0B312567BB23089D37D7C0E48F6CA18204E546F3947CB26E97DCB74E625235872C767BF85DA22EF20D2F80756B5F40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE702706FBA10211704731C566533BA786A40A5AABA2AD371193C9F3DD0FB1AF5EB82E77451A5C57BD33C9F3DD0FB1AF5EB4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A55A0DD2397594042C7B723966566CE98CDC5885AC4765E8ABD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3463DBE2ADA183F62FF8EFD5F75959C3C7FAB09352A5560F014532FF0FF97065841192724EB574817E1D7E09C32AA3244C1C91D614C2D0DAB2209592FC7045B7593A76366E8A9DE7CAFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojeUfzg2H8wDSq3zSSSKq4Qw== X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4B584E31D5342C039807DE4A1CC1838FA038946313079381BF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH test-run] pretest_clean: add misc LuaJIT built-in module 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" Hi! On 11.03.21, Alexander Turenko wrote: > On Wed, Mar 10, 2021 at 12:39:05PM +0300, Sergey Kaplun wrote: > > LuaJIT built-in misc was introduced via > > tarantool/tarantool@e5039742eba89936bf2f8c5aebc8f21c810710d5 > > (luajit: bump new version) in Tarantool and via > > tarantool/luajit@5a61e1ab54b5c66bfebd836db1ac47996611e065 > > (misc: add C and Lua API for platform metrics) in LuaJIT fork. > > > > Follows up tarantool/tarantool#5187 > > --- > > Branch: https://github.com/tarantool/test-run/tree/skaplun/gh-noticket-add-misc-bultin-in-pretest-clean > > > > pretest_clean.lua | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/pretest_clean.lua b/pretest_clean.lua > > index 9b5ac9d..8ea07e0 100644 > > --- a/pretest_clean.lua > > +++ b/pretest_clean.lua > > @@ -264,6 +264,7 @@ local function clean() > > json = true, > > log = true, > > math = true, > > + misc = true, > > msgpack = true, > > msgpackffi = true, > > ['net.box'] = true, > > The module is loaded by default, so I would add it to 'allowed_globals' > too. Thanks, my bad! Fixed and force-pushed to the branch. See the iterative patch below: =================================================================== diff --git a/pretest_clean.lua b/pretest_clean.lua index 8ea07e0..446ecf2 100644 --- a/pretest_clean.lua +++ b/pretest_clean.lua @@ -155,6 +155,7 @@ local function clean() io = true, jit = true, math = true, + misc = true, os = true, package = true, string = true, =================================================================== -- Best regards, Sergey Kaplun