From: Igor Munkin via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Kaplun <skaplun@tarantool.org>,
Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH luajit 0/5] Tarantool tests enhancements
Date: Mon, 27 Feb 2023 09:07:18 +0000 [thread overview]
Message-ID: <cover.1677236706.git.imun@tarantool.org> (raw)
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, <utils.selfrun> 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 <tap.skipall> and
<tap.skiprest> 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
next reply other threads:[~2023-02-27 9:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-27 9:07 Igor Munkin via Tarantool-patches [this message]
2023-02-27 9:07 ` [Tarantool-patches] [PATCH luajit 1/5] ci: use LuaJIT-test target in testing workflows Igor Munkin via Tarantool-patches
2023-02-27 9:41 ` Sergey Kaplun via Tarantool-patches
2023-02-28 7:42 ` Maxim Kokryashkin via Tarantool-patches
2023-02-27 9:07 ` [Tarantool-patches] [PATCH luajit 2/5] test: stop using utils.selfrun in tests Igor Munkin via Tarantool-patches
2023-02-27 10:08 ` Sergey Kaplun via Tarantool-patches
2023-02-27 18:04 ` Igor Munkin via Tarantool-patches
2023-02-28 7:46 ` Maxim Kokryashkin via Tarantool-patches
2023-02-27 9:07 ` [Tarantool-patches] [PATCH luajit 3/5] test: introduce test:skipall TAP helper Igor Munkin via Tarantool-patches
2023-02-27 9:51 ` Sergey Kaplun via Tarantool-patches
2023-02-27 18:04 ` Igor Munkin via Tarantool-patches
2023-02-28 7:51 ` Maxim Kokryashkin via Tarantool-patches
2023-02-28 16:26 ` Igor Munkin via Tarantool-patches
2023-02-27 9:07 ` [Tarantool-patches] [PATCH luajit 4/5] test: introduce test:skiprest " Igor Munkin via Tarantool-patches
2023-02-27 9:56 ` Sergey Kaplun via Tarantool-patches
2023-02-27 18:04 ` Igor Munkin via Tarantool-patches
2023-02-28 7:55 ` Maxim Kokryashkin via Tarantool-patches
2023-02-28 16:26 ` Igor Munkin via Tarantool-patches
2023-02-27 9:07 ` [Tarantool-patches] [PATCH luajit 5/5] test: make skipcond helper more convenient Igor Munkin via Tarantool-patches
2023-02-27 10:01 ` Sergey Kaplun via Tarantool-patches
2023-02-28 8:10 ` Maxim Kokryashkin via Tarantool-patches
2023-03-02 17:07 ` [Tarantool-patches] [PATCH luajit 0/5] Tarantool tests enhancements Igor Munkin via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1677236706.git.imun@tarantool.org \
--to=tarantool-patches@dev.tarantool.org \
--cc=imun@tarantool.org \
--cc=m.kokryashkin@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 0/5] Tarantool tests enhancements' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox