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 776422ADDE2; Mon, 27 Feb 2023 12:10:04 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 776422ADDE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1677489004; bh=X103XxMwiqP8/JJBzyfXyZfOpvOgR50w0COd0XsanNU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=aTXNBHmH7mrkvjnjFMQ8+02dlYNzyBY/p4p/Xa07iRduFg2eWtnOaxTVqFItnC6fx JlScV+NRzwSOptLJxbFnFHNMguLdfRdF/Ax2LTzgSguO6kCBji8Q3UqnCroqJC0ZMr 5wOdieC4RKnIF/EZpwvnolPwCeQ4ie5TF7Ne0TqU= Received: from smtp31.i.mail.ru (smtp31.i.mail.ru [95.163.41.72]) (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 3791B21C253 for ; Mon, 27 Feb 2023 12:10:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3791B21C253 Received: by smtp31.i.mail.ru with esmtpa (envelope-from ) id 1pWZWE-002jL3-4o; Mon, 27 Feb 2023 12:10:02 +0300 To: Sergey Kaplun , Maxim Kokryashkin Date: Mon, 27 Feb 2023 09:07:18 +0000 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9806C989EC2150E332707AF5C8463FB27632E61488AC5AD3D182A05F5380850408FC51F3909243FA23EEBEB46EF27F77464AB8AA9E74676C4F600E77B51AAB791 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE76D34FAA3D8B31588C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7BF27F4FA2823CCF0EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B6F1F7B995052D5CE931E8844764B6438BE830A5B517A51ECCC7F00164DA146DAFE8445B8C89999728AA50765F7900637D5802E9A766D685B389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8BFD98ABA943BD70BF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C420C44FB56B3298E2D242C3BD2E3F4C64AD6D5ED66289B52698AB9A7B718F8C46E0066C2D8992A16725E5C173C3A84C3318E5214BBCD6382BA3038C0950A5D36B5C8C57E37DE458B330BD67F2E7D9AF16D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166A417C69337E82CC275ECD9A6C639B01B78DA827A17800CE732FCE54C4D9A645443847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A5E153B66B4101D3E8AB363DFE61A064F4531AC64C3D2D50AF4EAF44D9B582CE87C8A4C02DF684249CC203C45FEA855C8F X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34E9B0C12ABED55137D9CD96462D5C25BB271DD4FA4FDBBA777C776768EB70B9BE5C2825CB53F9D0F81D7E09C32AA3244CBE8F74B8E2B8E309AD03D0F617241DBDC3B3ADDA61883BB5927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXj4AR+zHCYMf6gkzEX66fHc X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D53124005329899888359D84AB5D15DC197FD6E7897F54F6C62F2326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 0/5] Tarantool tests enhancements 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 Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" I decided to split the original series[1], adjusting JIT-related tests in tarantool-tests suite into two separate patchsets: one with enhancements for test suite and another one for JIT-related tweaks. This series consists of the following changes: 1. The first one is a simple tiny maintenance patch to remove excess checks in testing workflows. 2. The second one is epic one: unfortunately, is too complex to be maintained, so the corresponding tests are split into two files: the test itself and the script to be run by the test. There is a new helper introduced within this patch, and three tests are refactored. 3. The third and the fourth patches introduce and helpers. 4. The fourth patch makes skipcond helper more convenient: it becomes multi-conditional and it yields the test object, so we can organize more readable chains of skip conditions. [1]: https://lists.tarantool.org/tarantool-patches/cover.1676304797.git.imun@tarantool.org/T/#t Branch: https://github.com/tarantool/luajit/tree/imun/tap-enhancements CI: https://github.com/tarantool/luajit/commit/4e6d8b4 Tarantool PR: https://github.com/tarantool/tarantool/pull/8288 Igor Munkin (5): ci: use LuaJIT-test target in testing workflows test: stop using utils.selfrun in tests test: introduce test:skipall TAP helper test: introduce test:skiprest TAP helper test: make skipcond helper more convenient .github/workflows/exotic-builds-testing.yml | 2 +- .github/workflows/testing.yml | 2 +- .../gh-4199-gc64-fuse.test.lua | 11 ++- .../gh-4427-ffi-sandwich.test.lua | 95 ++++++++++--------- .../gh-4427-ffi-sandwich/script.lua | 25 +++++ .../gh-5813-resolving-of-c-symbols.test.lua | 19 ++-- ...4-add-proto-trace-sysprof-default.test.lua | 15 ++- .../lj-351-print-tostring-number.test.lua | 34 +++---- .../lj-351-print-tostring-number/script.lua | 9 ++ .../lj-430-maxirconst.test.lua | 10 +- .../lj-586-debug-non-string-error.test.lua | 2 +- .../lj-603-err-snap-restore.test.lua | 19 ++-- ...lj-672-cdata-allocation-recording.test.lua | 12 +-- .../lj-906-fix-err-mem.test.lua | 12 +-- .../lj-flush-on-trace.test.lua | 94 +++++++++--------- .../lj-flush-on-trace/script.lua | 23 +++++ .../misclib-getmetrics-capi.test.lua | 17 ++-- .../misclib-getmetrics-lapi.test.lua | 13 +-- .../misclib-memprof-lapi.test.lua | 28 +++--- .../misclib-sysprof-capi.test.lua | 19 ++-- .../misclib-sysprof-lapi.test.lua | 19 ++-- test/tarantool-tests/tap.lua | 42 +++++++- test/tarantool-tests/utils.lua | 88 +++++++---------- 23 files changed, 333 insertions(+), 277 deletions(-) create mode 100644 test/tarantool-tests/gh-4427-ffi-sandwich/script.lua create mode 100644 test/tarantool-tests/lj-351-print-tostring-number/script.lua create mode 100644 test/tarantool-tests/lj-flush-on-trace/script.lua -- 2.30.2