Files
lorry li 85c1ad8a82 Make sure python packages can be updated in WebTestsServer;
Added more checks in test case "Can do blocking call" of WebTests;
Added duplicated call CancelRequest in test case "Cancel http request connect before timeout" of  WebTests;
Some other code clean in WebTests.

[REVIEW] [at]stephen.ma [at]michael.kirzinger [at]rafa.lecina
#rb stephen.ma

[CL 31289772 by lorry li in 5.4 branch]
2024-02-08 09:19:12 -05:00

20 lines
415 B
Bash
Executable File

if [ ! -d "env" ]; then
case "$OSTYPE" in
darwin*)
../../../Binaries/ThirdParty/Python3/Mac/bin/python3 -m venv env
;;
*)
../../../Binaries/ThirdParty/Python3/Linux/bin/python3 -m venv env
;;
esac
fi
. ./env/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
local install_exit_code = $?
if [ $install_exit_code -ne 0 ]; then
rm -rf env
exit $install_exit_code
fi