Tarantool development patches archive
 help / color / mirror / Atom feed
From: Maxim Kokryashkin via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: "Sergey Kaplun" <skaplun@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches]  [PATCH v1 luajit 0/5] reworking C tests
Date: Mon, 20 Mar 2023 16:50:06 +0300	[thread overview]
Message-ID: <1679320206.361930453@f398.i.mail.ru> (raw)
In-Reply-To: <cover.1678895861.git.skaplun@tarantool.org>

[-- Attachment #1: Type: text/plain, Size: 3078 bytes --]


Hi!
Are you sure that issues tarantool/tarantool#781 is related?
 
--
Best regards,
Maxim Kokryashkin
 
  
>Среда, 15 марта 2023, 19:14 +03:00 от Sergey Kaplun <skaplun@tarantool.org>:
> 
>The whole idea of the patch-set introduce module for LuaJIT C tests. It
>also, can be used for unit tests.
>* The first patch is the prerequisite for the patch-set. It fixes
>  LD_LIBRARY_PATH definition.
>* The 2nd and 3d patches provides an API and helper for writing the tests.
>* The last 2 patches rewrite existing tests that should be written in C in
>  the proper way.
>
>I'll be glad to hear some suggestions and ideas to improving the test
>module:).
>
>Branch:  https://github.com/tarantool/luajit/tree/skaplun/gh-noticket-tarantool-c-tests
>PR:  https://github.com/tarantool/tarantool/pull/8444
>Related Issue:
>*  https://github.com/tarantool/tarantool/issues/7900
>*  https://github.com/tarantool/tarantool/issues/781
>
>Sergey Kaplun (5):
>  test: fix setting of {DY}LD_LIBRARY_PATH variables
>  test: introduce module for C tests
>  test: introduce utils.h helper for C tests
>  test: rewrite misclib-getmetrics-capi test in C
>  test: rewrite misclib-sysprof-capi test in C
>
> .gitignore | 1 +
> src/CMakeLists.txt | 2 +
> test/CMakeLists.txt | 2 +
> test/tarantool-c-tests/CMakeLists.txt | 67 ++++
> .../misclib-getmetrics-capi-script.lua} | 82 ++---
> .../misclib-getmetrics-capi.test.c | 341 ++++++++++++++++++
> .../misclib-sysprof-capi-script.lua | 35 ++
> .../misclib-sysprof-capi.test.c | 317 ++++++++++++++++
> test/tarantool-c-tests/test.c | 251 +++++++++++++
> test/tarantool-c-tests/test.h | 251 +++++++++++++
> test/tarantool-c-tests/utils.h | 63 ++++
> test/tarantool-tests/CMakeLists.txt | 11 +-
> .../misclib-getmetrics-capi/CMakeLists.txt | 1 -
> .../misclib-getmetrics-capi/testgetmetrics.c | 270 --------------
> .../misclib-sysprof-capi.test.lua | 54 ---
> .../misclib-sysprof-capi/CMakeLists.txt | 1 -
> .../misclib-sysprof-capi/testsysprof.c | 260 -------------
> 17 files changed, 1374 insertions(+), 635 deletions(-)
> create mode 100644 test/tarantool-c-tests/CMakeLists.txt
> rename test/{tarantool-tests/misclib-getmetrics-capi.test.lua => tarantool-c-tests/misclib-getmetrics-capi-script.lua} (68%)
> create mode 100644 test/tarantool-c-tests/misclib-getmetrics-capi.test.c
> create mode 100644 test/tarantool-c-tests/misclib-sysprof-capi-script.lua
> create mode 100644 test/tarantool-c-tests/misclib-sysprof-capi.test.c
> create mode 100644 test/tarantool-c-tests/test.c
> create mode 100644 test/tarantool-c-tests/test.h
> create mode 100644 test/tarantool-c-tests/utils.h
> delete mode 100644 test/tarantool-tests/misclib-getmetrics-capi/CMakeLists.txt
> delete mode 100644 test/tarantool-tests/misclib-getmetrics-capi/testgetmetrics.c
> delete mode 100644 test/tarantool-tests/misclib-sysprof-capi.test.lua
> delete mode 100644 test/tarantool-tests/misclib-sysprof-capi/CMakeLists.txt
> delete mode 100644 test/tarantool-tests/misclib-sysprof-capi/testsysprof.c
>
>--
>2.34.1
 

[-- Attachment #2: Type: text/html, Size: 4159 bytes --]

      parent reply	other threads:[~2023-03-20 13:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15 16:11 Sergey Kaplun via Tarantool-patches
2023-03-15 16:11 ` [Tarantool-patches] [PATCH v1 luajit 1/5] test: fix setting of {DY}LD_LIBRARY_PATH variables Sergey Kaplun via Tarantool-patches
2023-03-20 13:54   ` Maxim Kokryashkin via Tarantool-patches
2023-03-15 16:11 ` [Tarantool-patches] [PATCH v1 luajit 2/5] test: introduce module for C tests Sergey Kaplun via Tarantool-patches
2023-03-20 15:17   ` Maxim Kokryashkin via Tarantool-patches
2023-03-15 16:11 ` [Tarantool-patches] [PATCH v1 luajit 3/5] test: introduce utils.h helper " Sergey Kaplun via Tarantool-patches
2023-03-20 15:21   ` Maxim Kokryashkin via Tarantool-patches
2023-03-15 16:11 ` [Tarantool-patches] [PATCH v1 luajit 4/5] test: rewrite misclib-getmetrics-capi test in C Sergey Kaplun via Tarantool-patches
2023-03-22  0:07   ` Maxim Kokryashkin via Tarantool-patches
2023-03-15 16:11 ` [Tarantool-patches] [PATCH v1 luajit 5/5] test: rewrite misclib-sysprof-capi " Sergey Kaplun via Tarantool-patches
2023-03-20 16:24   ` Maxim Kokryashkin via Tarantool-patches
2023-03-20 13:50 ` Maxim Kokryashkin via Tarantool-patches [this message]

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=1679320206.361930453@f398.i.mail.ru \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=m.kokryashkin@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches]  [PATCH v1 luajit 0/5] reworking C tests' \
    /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