test: fix TAP tests that depends on .result files#10725
Merged
Buristan merged 10 commits intotarantool:masterfrom Nov 20, 2024
Merged
test: fix TAP tests that depends on .result files#10725Buristan merged 10 commits intotarantool:masterfrom
Buristan merged 10 commits intotarantool:masterfrom
Conversation
c5518d8 to
f92fbfe
Compare
eebba55 to
fc7c3cf
Compare
fc7c3cf to
daf266d
Compare
Totktonada
reviewed
Oct 31, 2024
Totktonada
reviewed
Oct 31, 2024
Totktonada
reviewed
Oct 31, 2024
Totktonada
reviewed
Oct 31, 2024
Totktonada
reviewed
Oct 31, 2024
Totktonada
reviewed
Oct 31, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
reviewed
Nov 1, 2024
Totktonada
approved these changes
Nov 1, 2024
Contributor
Totktonada
left a comment
There was a problem hiding this comment.
Thank you for working on it! LGTM except a few remarks.
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
3fc8594 to
0de2a48
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The patch rewrotes the following TAP tests to luatest:
box-tap/trigger_yield.test.lua->box-luatest/trigger_yield_test.luaapp-tap/tap.test.lua->app-luatest/tap_test.luaapp-tap/logger_pipe.test.lua->app-luatest/logger_pipe_test.luaapp-tap/init_script.test.lua->app-luatest/init_script_test.luaapp-tap/pcall.test.lua->app-luatest/pcall_test.luaapp-tap/debug.test.lua->app-luatest/debug_test.luabox-tap/trigger_atexit.test.lua->box-luatest/trigger_atexit_test.luabox-tap/gh-5602-environment-vars-cfg.test.lua->box-luatest/gh-5602-environment-vars-cfg_test.luaThe patch removes .result file for
app-tap/fail_main.test.luabecause it is not required anymore and removesapp-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