Skip to content

test: fix TAP tests that depends on .result files#10725

Merged
Buristan merged 10 commits intotarantool:masterfrom
ligurio:ligurio/gh-xxxx-fix-tap-tests
Nov 20, 2024
Merged

test: fix TAP tests that depends on .result files#10725
Buristan merged 10 commits intotarantool:masterfrom
ligurio:ligurio/gh-xxxx-fix-tap-tests

Conversation

@ligurio
Copy link
Member

@ligurio ligurio commented Oct 21, 2024

The patch rewrotes the following TAP tests to luatest:

  • box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
  • app-tap/tap.test.lua -> app-luatest/tap_test.lua
  • app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
  • app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
  • app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
  • app-tap/debug.test.lua -> app-luatest/debug_test.lua
  • box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
  • box-tap/gh-5602-environment-vars-cfg.test.lua -> box-luatest/gh-5602-environment-vars-cfg_test.lua

The patch removes .result file for app-tap/fail_main.test.lua because it is not required anymore and removes
app-tap/inspector.test.lua, it is an internal test.

Needed for #10216
Follows up #4125
Follows up #53
Follows up #5602
Follows up #583

NO_CHANGELOG=codehealth
NO_DOC=codehealth

@coveralls
Copy link

coveralls commented Oct 21, 2024

Coverage Status

coverage: 87.319%. remained the same
when pulling 0de2a48 on ligurio:ligurio/gh-xxxx-fix-tap-tests
into f65de7e
on tarantool:master
.

@ligurio ligurio force-pushed the ligurio/gh-xxxx-fix-tap-tests branch 3 times, most recently from c5518d8 to f92fbfe Compare October 21, 2024 18:32
@ligurio ligurio mentioned this pull request Oct 21, 2024
15 tasks
@ligurio ligurio force-pushed the ligurio/gh-xxxx-fix-tap-tests branch 5 times, most recently from eebba55 to fc7c3cf Compare October 24, 2024 16:51
@ligurio ligurio force-pushed the ligurio/gh-xxxx-fix-tap-tests branch from fc7c3cf to daf266d Compare October 24, 2024 16:54
Copy link
Contributor

@Totktonada Totktonada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on it! LGTM except a few remarks.

@Totktonada Totktonada removed their assignment Nov 1, 2024
The patch rewrite TAP test `box-tap/trigger_yield.test.lua` to
a luatest `box-luatest/trigger_yield_test.lua`.

Needed for tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
The patch rewrites TAP test `box-tap/trigger_atexit.test.lua`
to a luatest `box-luatest/trigger_atexit_test.lua`.

Needed for tarantool#10216
Follows up tarantool#583

NO_CHANGELOG=testing
NO_DOC=testing
The patch removes `app-tap/inspector.test.lua`, it is
an internal test and inspector rarely used in regression tests.

Needed for tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
The patch removes result and skipcond files for
`app-tap/fail_main.test.lua` because it is not required anymore.

NO_CHANGELOG=testing
NO_DOC=testing
@ligurio ligurio force-pushed the ligurio/gh-xxxx-fix-tap-tests branch from 3fc8594 to 0de2a48 Compare November 20, 2024 12:07
@Buristan Buristan merged commit 5ae77cf into tarantool:master Nov 20, 2024
@ligurio ligurio deleted the ligurio/gh-xxxx-fix-tap-tests branch November 20, 2024 12:34
ligurio added a commit to ligurio/nanodata that referenced this pull request Dec 26, 2024
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua -> box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Dec 26, 2024
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua -> box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Dec 26, 2024
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua -> box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Dec 26, 2024
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua -> box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Jan 9, 2025
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua -> box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Jan 9, 2025
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Jan 9, 2025
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Jan 23, 2025
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Jan 23, 2025
FIXME:

- test/app-tap/logger.test.lua
- test/box-tap/tarantoolgh-4562-errno-at-xdir_scan.test.lua
- test/box-tap/cfg.test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Jan 23, 2025
Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Feb 25, 2025
Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

The following TAP tests were rewritten to luatest:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua
- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua

because these tests were used .result files for execution or
required inspector implemented in test-run.py, see [1].

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#10216

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Feb 25, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 3, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites uses environment variable
`MEMTX_ALLOCATOR`. Support from test executor is not required for
using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files, in parallel corrupts generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 5, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 5, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 6, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 6, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 6, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 7, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 7, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
ligurio added a commit to ligurio/nanodata that referenced this pull request Mar 17, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/tarantoolgh-5602-environment-vars-cfg.test.lua ->
    box-luatest/tarantoolgh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up tarantool#10216

1. tarantool#10725
2. tarantool#11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
Buristan pushed a commit that referenced this pull request Mar 17, 2025
CTest support has been added in commit a9b9f2e
("test: execute tests using CTest"), however, `test-run.py` was
used for running TAP tests. The patch adds support of running TAP
tests (suites app-tap, box-tap, engine-tap and sql-tap) by CTest
directly, without using test-run.py.

Note, that the following TAP tests were rewritten because these
tests were used .result files for execution, see [1]:

- box-tap/trigger_yield.test.lua -> box-luatest/trigger_yield_test.lua
- app-tap/tap.test.lua -> app-luatest/tap_test.lua
- app-tap/logger_pipe.test.lua -> app-luatest/logger_pipe_test.lua
- app-tap/init_script.test.lua -> app-luatest/init_script_test.lua
- app-tap/pcall.test.lua -> app-luatest/pcall_test.lua
- app-tap/debug.test.lua -> app-luatest/debug_test.lua
- box-tap/trigger_atexit.test.lua -> box-luatest/trigger_atexit_test.lua
- box-tap/gh-5602-environment-vars-cfg.test.lua ->
    box-luatest/gh-5602-environment-vars-cfg_test.lua

And the following TAP tests were rewritten because these
tests required inspector functionality builtin into test-run.py,
see [2]:

- box-tap/session.storage.test.lua -> box-luatest/session_storage_test.lua
- box-tap/net.box.test.lua -> box-luatest/net_box_test.lua
- box-tap/session.test.lua -> test/box-luatest/session_test.lua

Note, that TAP test suites use environment variable
`MEMTX_ALLOCATOR`. Support from the test executor is not required
for using this parameter in tests.

Note, that `tarantool` was not added to "*-deps", because
running target `box_generate_lua_sources`, that builds Lua source
files in parallel corrupts the generated Lua files.

Follows up #10216

1. #10725
2. #11021

NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Enables all tests for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants