Skip to content
Snippets Groups Projects
Commit e9728280ac37 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

tests: avoid using pip from the same directory in parallel

This is apparently broken as test get super flaky if we do not do this :-/
parent a999904b4910
1 merge request!27setup-base-dir: also add a symlink to poulpe directly
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/ $ python -m venv $TESTTMP/
$ . $TESTTMP/bin/activate $ . $TESTTMP/bin/activate
$ pip install $TESTDIR/.. --quiet # pip is apparently unable to have multiple instance installing from the same
# directory at the same time, so we do a local copy first ☹
$ cp -aR $TESTDIR/.. poulpe-dir
$ pip install ./poulpe-dir/ --quiet
$ rm -rf poulpe-dir
Check basic invocation Check basic invocation
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/ $ python -m venv $TESTTMP/
$ . $TESTTMP/bin/activate $ . $TESTTMP/bin/activate
$ pip install $TESTDIR/.. --quiet # pip is apparently unable to have multiple instance installing from the same
# directory at the same time, so we do a local copy first ☹
$ cp -aR $TESTDIR/.. poulpe-dir
$ pip install ./poulpe-dir/ --quiet
$ rm -rf poulpe-dir
This tests the data setup script for Mercurial. This tests the data setup script for Mercurial.
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/ $ python -m venv $TESTTMP/
$ . $TESTTMP/bin/activate $ . $TESTTMP/bin/activate
$ pip install $TESTDIR/.. --quiet # pip is apparently unable to have multiple instance installing from the same
# directory at the same time, so we do a local copy first ☹
$ cp -aR $TESTDIR/.. poulpe-dir
$ pip install ./poulpe-dir/ --quiet
$ rm -rf poulpe-dir
Check basic error Check basic error
---------------- ----------------
......
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
$ python -m venv $TESTTMP/ $ python -m venv $TESTTMP/
$ . $TESTTMP/bin/activate $ . $TESTTMP/bin/activate
$ pip install $TESTDIR/.. --quiet # pip is apparently unable to have multiple instance installing from the same
# directory at the same time, so we do a local copy first ☹
$ cp -aR $TESTDIR/.. poulpe-dir
$ pip install ./poulpe-dir/ --quiet
$ rm -rf poulpe-dir
Setup the bin-env Setup the bin-env
----------------- -----------------
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/ $ python -m venv $TESTTMP/
$ . $TESTTMP/bin/activate $ . $TESTTMP/bin/activate
$ pip install $TESTDIR/.. --quiet # pip is apparently unable to have multiple instance installing from the same
# directory at the same time, so we do a local copy first ☹
$ cp -aR $TESTDIR/.. poulpe-dir
$ pip install ./poulpe-dir/ --quiet
$ rm -rf poulpe-dir
Setup the bin-env Setup the bin-env
----------------- -----------------
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/ $ python -m venv $TESTTMP/
$ . $TESTTMP/bin/activate $ . $TESTTMP/bin/activate
$ pip install $TESTDIR/.. --quiet # pip is apparently unable to have multiple instance installing from the same
# directory at the same time, so we do a local copy first ☹
$ cp -aR $TESTDIR/.. poulpe-dir
$ pip install ./poulpe-dir/ --quiet
$ rm -rf poulpe-dir
Setup the bin-env Setup the bin-env
----------------- -----------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment