Commits
- Commit:
980ae98bf2170a867104430e4c672a45a626d203
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test: replace testcase by luatest's testcases
The tests `array.test.lua` and `map.test.lua` require the remote
Tarantool instance for running testcases. When tests are executed
by test-run.py, it runs this Tarantool instance. The testcases
that require the remote instance were ported to luatest to make
tests able to run with ctest. The testcases `builtins-13.1` and
`builtins-14.1` are companion testcases and were moved as well.
Required by patches for CTest support, because allows to
execute aforementioned tests without test-run.py.
NO_CHANGELOG=codehealth
NO_DOC=codehealth
NO_TEST=codehealth
(cherry picked from commit 47295fdebc1910b990c391c26fe92918a9c0c001)
- Commit:
10d3af81decc71bcb0d3bce05a24704b72f14607
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test: remove testcase for tarantoolctl
The testcase `test_tarantoolctl_connect` tests `tarantoolctl`,
but this tool has been deprecated and removed for a long time.
The patch removes testcases as useless.
Follows up commit 216b6243bba1
("tools: remove tarantoolctl utility").
NO_CHANGELOG=codehealth
NO_DOC=codehealth
(cherry picked from commit c26c07172f4e4d8a31ace84bd62eeee81660854c)
- Commit:
663efdceb9f1d949d2664e26bf574bbe90f00603
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test: fix minimal.test.lua
The patch set a path to `tarantool` executable binary explicitly
in the aforementioned test.
NO_CHANGELOG=codehealth
NO_DOC=codehealth
(cherry picked from commit 7844e6034bd67f3e5a57710443373da5200e441a)
- Commit:
f7ba64e078dae297d8e674bfbb82d1b88e5fd5e1
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test: use built tarantool instead a system one
The test gh_5747_crash_multiple_args_test.lua uses a `tarantool`
binary that is available in a current PATH environment variable.
In some cases, PATH may point to a system `tarantool` executable
and this could be unexpected for those who run the test. The patch
set a path to `tarantool` executable derived from a command-line
used to run the test.
NO_CHANGELOG=codehealth
NO_DOC=codehealth
(cherry picked from commit 1e907ddbd8db2587418d50dde3e06e985c47bded)
- Commit:
3420831cd578448482cfb9d8267129f33f1fd026
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test: fix test filename
According to CMake policy CMP0110 whitespaces and other special
characters are forbidden before CMake 3.19. This policy is
triggered with the patch for CTest support and breaks test
generation:
NO_WRAP
The following name given to add_test() is invalid if CMP0110 is not set or
set to OLD:
`test/box-luatest/gh_7217_repeatable_{in, up}sert_memtx_tx_conflict_test.lua´
NO_WRAP
The patch renames file without using whitespaces and special
characters.
Required for CTest support. Follows up commit 654cf498662c
("memtx: fix story delete statement list").
1. https://cmake.org/cmake/help/latest/policy/CMP0110.html
NO_CHANGELOG=codehealth
NO_DOC=codehealth
NO_TEST=codehealth
(cherry picked from commit ec810b9d6b618c4ec5116dde2f02b5be01a13f6d)