Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3: --builddir regression when a relative path is passed #278

Open
Totktonada opened this issue Mar 22, 2021 · 0 comments
Open

python3: --builddir regression when a relative path is passed #278

Totktonada opened this issue Mar 22, 2021 · 0 comments
Labels
bug Something isn't working regression
Milestone

Comments

@Totktonada
Copy link
Member

$ cd path/to/tarantool/repo
$ mkdir b && cd b
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_BACKTRACE=ON -DENABLE_DIST=ON -DENABLE_BUNDLED_LIBCURL=OFF && make -j
$ python2 ../test/test-run.py --builddir=../b unit/guard
<...>
[001] unit/guard.test                                                 [ pass ]
$ python3 ../test/test-run.py --builddir=../b unit/guard
<...>
[001] unit/guard.test                                                 
[001] Test.run() received the following error:
[001] Traceback (most recent call last):
[001]   File "/home/alex/projects/tarantool-meta/r/t-3/test-run/lib/test.py", line 190, in run
[001]     self.execute(server)
[001]   File "/home/alex/projects/tarantool-meta/r/t-3/test-run/lib/unittest_server.py", line 18, in execute
[001]     proc = Popen(execs, cwd=server.vardir, stdout=PIPE, stderr=STDOUT)
[001]   File "/usr/lib/python3.9/subprocess.py", line 947, in __init__
[001]     self._execute_child(args, executable, preexec_fn, close_fds,
[001]   File "/usr/lib/python3.9/subprocess.py", line 1819, in _execute_child
[001]     raise child_exception_type(errno_num, err_msg, err_filename)
[001] FileNotFoundError: [Errno 2] No such file or directory: '/home/alex/projects/tarantool-meta/r/t-3/b/b/test/unit/guard.test'
[001] 
[001] [ fail ]
<...>
$ python3 ../test/test-run.py --builddir=$(realpath ../b) unit/guard
[001] unit/guard.test                                                 [ pass ]
@Totktonada Totktonada added bug Something isn't working regression labels Mar 22, 2021
@kyukhin kyukhin added the teamQ label Sep 17, 2021
@kyukhin kyukhin added this to the wishlist milestone Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression
Projects
None yet
Development

No branches or pull requests

3 participants