call the venv creation from inside the bootstrap

This commit is contained in:
Erica Portnoy 2020-08-12 14:00:16 -07:00
parent 7b94ca2e98
commit 799ecba8f9
2 changed files with 4 additions and 4 deletions

View file

@ -201,3 +201,6 @@ elif [ -f /etc/redhat-release ]; then
fi
Bootstrap
cd $1
$2

View file

@ -13,12 +13,9 @@ VENV_NAME=venv3
BOOTSTRAP_SCRIPT="$REPO_ROOT/tests/letstest/scripts/bootstrap_os_packages.sh"
VENV_SCRIPT="tools/venv3.py"
sudo $BOOTSTRAP_SCRIPT
sudo $BOOTSTRAP_SCRIPT $REPO_ROOT $VENV_SCRIPT
cd $REPO_ROOT
$VENV_SCRIPT
. $VENV_NAME/bin/activate
"$PIP_INSTALL" pytest