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 EBFBD6C1AE; Mon, 17 May 2021 19:34:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EBFBD6C1AE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1621269277; bh=//+vmvYR5geUl6p400YcoSubKA84M5kicdFJTJtBXn4=; 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=QNB7rc1ItFfV5g5pzINRTrz+e0yxzvmoxWw4BlLc0H0gjhJzYjOH4MrR1vSa/ea5o v8+vZmGEGLfV+ZR2atRbwaNUPrusgOdDFhYxRXy42F09LRuC/RkBTvSk50mguKEOJv TjVYbZwv2bB72Ul/n1cwzBA1AUQEnQh+8E2qXoKg= Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 9A1296C1AE for ; Mon, 17 May 2021 19:34:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9A1296C1AE Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1ligCQ-0005Y9-AC; Mon, 17 May 2021 19:34:34 +0300 Date: Mon, 17 May 2021 19:34:33 +0300 To: Sergey Ostanevich , Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Message-ID: <20210517163433.GN3944@tarantool.org> References: <72c91a259dd039fc95961992ae06baee820695be.1620072340.git.imun@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <72c91a259dd039fc95961992ae06baee820695be.1620072340.git.imun@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.10.1 (2018-07-13) X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD95978C26455E69BE0890FB394E039F71AA2C815CBBA0C08E7182A05F53808504072093C06FB09DD328F1EA0C92656B67E3C7F79B625DAD45EF86ACDA121FB699C X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7051A6EFB787CE9C4EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637E149C29A36E092738638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B25F607CB767C24122120E20AD023037720A05E728617FD226D2E47CDBA5A96583C09775C1D3CA48CF17B107DEF921CE79117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE71AE4D56B06699BBC9FA2833FD35BB23DF004C906525384302BEBFE083D3B9BA71A620F70A64A45A98AA50765F79006372E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89F616AD31D0D18CD5C35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A58EDED432B2D3BB232691095D720FBE43920EB1E1BF99DA87D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA752546FE575EB473F1410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D344FDECC3B9E4D57D4C4D4E1C394D06D1338618DA9CB3968A850185239BD74DCD0DB317F2131B532191D7E09C32AA3244C97544F489751E96D7441FD3BF5C7AE6D95A9E0DC41E9A4CF927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojlIWKWc0dtJ0Pi6Y+bzdLFA== X-Mailru-Sender: 689FA8AB762F73936BC43F508A06382230558B62A71F1060248B060F584406D1A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] build: add missing module for jit.dump on ARM64 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" Oops, sorry guys, but the test seems to be noop for this fix (in other works it's OK even without patch), so I've reimplemented it. Consider the description in the test. Diff is below: ================================================================================ diff --git a/test/app-tap/gh-5983-jit-library-smoke-tests.skipcond b/test/app-tap/gh-5983-jit-library-smoke-tests.skipcond new file mode 100644 index 000000000..2a2ec4d97 --- /dev/null +++ b/test/app-tap/gh-5983-jit-library-smoke-tests.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on FreeBSD due to #4819. +if platform.system() == 'FreeBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/app-tap/gh-5983-jit-library-smoke-tests.test.lua b/test/app-tap/gh-5983-jit-library-smoke-tests.test.lua new file mode 100755 index 000000000..72caec2f9 --- /dev/null +++ b/test/app-tap/gh-5983-jit-library-smoke-tests.test.lua @@ -0,0 +1,44 @@ +#!/usr/bin/env tarantool + +-- Just check whether all Lua sources related to jit.dump are +-- bundled to the binary. Otherwise, jit.dump module raises +-- an error that is handled via . +-- XXX: pure require for jit.dump doesn't cover all the cases, +-- since dis_.lua are loaded at runtime. Furthermore, this +-- error is handled by JIT engine, so we can't use for it. +-- Hence, simply sniff the output of the test to check that all +-- phases of trace compilation are dumped. + +if #arg == 0 then + local tap = require('tap') + local test = tap.test('gh-5983-jit-library-smoke-tests') + + test:plan(1) + + -- XXX: Shell argument is necessary to differ test case + -- from the test runner. + local cmd = string.gsub(' 2>&1