You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments