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 08A37C18246; Wed, 14 Aug 2024 17:14:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 08A37C18246 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1723644873; bh=swH3i3KKmqnT7agmSA6wEGlA5/nAA/SRQRwH45SF21w=; 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=l6BspPFUbDm7uoZernFoPg5DUDeC5SJVdlOuGGGTd1rXa8b97UMDK/IifzW7uuNSP 5pkZ3anc3Ql26KWSpy03EF2+Rou9b1RryyF5mTEXDQ4rK/XVPPDH108Ht5QgLukAT1 rVjccRnHNTxCLq/OkjvEigpY92yW7ciofs5nk6n4= Received: from smtp45.i.mail.ru (smtp45.i.mail.ru [95.163.41.83]) (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 77BECC13AC3 for ; Wed, 14 Aug 2024 16:58:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 77BECC13AC3 Received: by smtp45.i.mail.ru with esmtpa (envelope-from ) id 1seEWL-00000003nAF-0g0E; Wed, 14 Aug 2024 16:58:37 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Wed, 14 Aug 2024 16:56:17 +0300 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D7B6E71A78C20FB9D9356C89D4936CE4844AD87712F71107182A05F53808504034A31D77F129C06BA6D5EE0DB6E1EC8D03F11B0B29E378DE129B12038A8E527CAAAAC7C2FEB188AC X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7E50EC9128971FD6EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637CE6693660FA336BEEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B043BF0FB74779F369BF1BE4EA9085AD6748B3677A9AF8006ECBFA6CAD3CC0E74A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE77E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6A70DDFFB3186CBC5CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C22490B6129F83900A80E76E601842F6C81A12EF20D2F80756B5FB606B96278B59C4276E601842F6C81A127C277FBC8AE2E8B2BD3F5341D77BC413AA81AA40904B5D99C9F4D5AE37F343AD1F44FA8B9022EA23BBE47FD9DD3FB595F5C1EE8F4F765FC2EE5AD8F952D28FBE2021AF6380DFAD18AA50765F7900637B8FA30D9455089A722CA9DD8327EE4930A3850AC1BE2E73557739F23D657EF2BB5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: 0D63561A33F958A596428D7D630C29A75002B1117B3ED696DD6B1FA645C59E38E772F934B9BCD185823CB91A9FED034534781492E4B8EEADD0953842B444AAC3C79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFFC600EF569AAFFD24A274C96CF21F663583C304C61AA34C50CEFA866297CDBF7141C0AB2DA7D0DDA470327EB0AC8E693AB1DD77322AF11CAE98BAB6BFF30A4787A8C29DCA29C8DFAC226CC413062362A913E6812662D5F2A5EAB5682573093F7837F15F2B5E4A70B33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojnMg09N3zL/g9ySdC9ESE2A== X-Mailru-Sender: 520A125C2F17F0B1A9638AD358559B59F28BC08D93981AB0A6D5EE0DB6E1EC8D03F11B0B29E378DEB7CBEF92542CD7C88B0A2698F12F5C9EC77752E0C033A69E86920BD37369036789A8C6A0E60D2BB63A5DB60FBEB33A8A0DA7A0AF5A3A8387 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 35/36] test: enable LuaJIT test 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 the aforementioned test from the to the directory, includes it in , and names the subtests. Part of tarantool/tarantool#9398 --- test/LuaJIT-tests/misc/wbarrier_jit.lua | 18 ------------------ test/LuaJIT-tests/trace/index | 1 + test/LuaJIT-tests/trace/wbarrier.lua | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 18 deletions(-) delete mode 100644 test/LuaJIT-tests/misc/wbarrier_jit.lua create mode 100644 test/LuaJIT-tests/trace/wbarrier.lua diff --git a/test/LuaJIT-tests/misc/wbarrier_jit.lua b/test/LuaJIT-tests/misc/wbarrier_jit.lua deleted file mode 100644 index 2c8dd7fb..00000000 --- a/test/LuaJIT-tests/misc/wbarrier_jit.lua +++ /dev/null @@ -1,18 +0,0 @@ - -do - local t = {[0]={}} - for i=1,1e5 do t[i] = {t[i-1]} end - for i=1,1e5 do assert(t[i][1] == t[i-1]) end -end - -do - local f - do - local x = 0 - function f() - for i=1,1e5 do x = {i} end - end - end - f() -end - diff --git a/test/LuaJIT-tests/trace/index b/test/LuaJIT-tests/trace/index index c7fbbe57..5e1c4c2e 100644 --- a/test/LuaJIT-tests/trace/index +++ b/test/LuaJIT-tests/trace/index @@ -13,3 +13,4 @@ stitch.lua tcall_base.lua tcall_loop.lua unordered_jit.lua +wbarrier.lua diff --git a/test/LuaJIT-tests/trace/wbarrier.lua b/test/LuaJIT-tests/trace/wbarrier.lua new file mode 100644 index 00000000..625c0ff2 --- /dev/null +++ b/test/LuaJIT-tests/trace/wbarrier.lua @@ -0,0 +1,16 @@ +do --- TBAR for HSTORE. + local t = {[0]={}} + for i = 1, 1e5 do t[i] = {t[i - 1]} end + for i = 1, 1e5 do assert(t[i][1] == t[i - 1]) end +end + +do --- OBAR for USTORE. + local f + do + local x = 0 + function f() + for i = 1, 1e5 do x = {i} end + end + end + f() +end -- 2.45.2