Migrate tarantoolctl from the tarantool repository#401
Merged
ylobankov merged 2 commits intoJul 28, 2023
Conversation
Totktonada
reviewed
Jul 19, 2023
Totktonada
reviewed
Jul 19, 2023
Totktonada
reviewed
Jul 19, 2023
Totktonada
reviewed
Jul 19, 2023
Now test-run can run tests against Tarantool binary that can be located
anywhere.
Add an additional argument `--executable` [string] for test-run. This
parameter sets a fixed path to the executable file.
Warning: test library binaries are required to run tests anyway.
Example usage:
$ ./test-run.py --executable /foo/bar/tarantool
In scope of #400
ylobankov
approved these changes
Jul 28, 2023
Totktonada
approved these changes
Jul 28, 2023
Contributor
Totktonada
left a comment
There was a problem hiding this comment.
Glanced briefly, I see nothing critical.
find_exe() definitely needs rewriting, it is hard to understand. OK to do it separately, maybe in #249.
In the near future we plan to test Tarantool installed from a DEB/RPM package. Since 3.0.0-alpha1 release [1] Tarantool packages don't have the tarantoolctl utility inside [2][3]. So tarantoolctl was added to the root directory of the project. Now test-run will always use the local tarantoolctl. [1] https://github.com/tarantool/tarantool/releases/tag/3.0.0-alpha1 [2] tarantool/tarantool#8771 [3] tarantool/tarantool#8866 Close #400
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.
What's the problem?
In the near future we plan to test Tarantool installed from a DEB/RPM package. Since 3.0.0-alpha1 release 1 Tarantool packages don't have the tarantoolctl utility inside 23.
What's the solution?
It is necessary to "save" the tarantoolctl utility in order to use it regardless of whether it is part of future Tarantool packages or not. This can be done by simply copying the file to the root of the project directory.
How it was tested
Debian 11
Fedora 36
Close #400
Footnotes
https://github.com/tarantool/tarantool/releases/tag/3.0.0-alpha1 ↩
https://github.com/tarantool/tarantool/pull/8771 ↩
https://github.com/tarantool/tarantool/pull/8866 ↩