Skip to content
Snippets Groups Projects
Commit e9728280 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 a999904b
No related branches found
No related tags found
1 merge request!27setup-base-dir: also add a symlink to poulpe directly
......@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/
$ . $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
......
......@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/
$ . $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.
......
......@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/
$ . $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
----------------
......
......@@ -5,7 +5,11 @@
$ python -m venv $TESTTMP/
$ . $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
-----------------
......
......@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/
$ . $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
-----------------
......
......@@ -3,7 +3,11 @@
$ python -m venv $TESTTMP/
$ . $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
-----------------
......
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