Files
UnrealEngineUWP/Engine/Source/Programs/WebTestsServer/createenv.sh
lorry li 96b55c1d11 Make sure the web server process can be closed properly when run web tests on automation tool, to fix the pipeline not closed warning;
Fix the low level report parser error, when there are sections in test cases.

#jira UE-182678
[REVIEW] [at]chris.constantinescu [at]stephen.ma

[CL 27596208 by lorry li in ue5-main branch]
2023-09-05 10:35:43 -04:00

13 lines
293 B
Bash

if [ -d "env" ]; then
source ./env/Scripts/activate.sh
else
run ../../../Binaries/ThirdParty/Python3/Mac/python3 -m venv env
source ./env/Scripts/activate.sh
run python -m pip install --upgrade pip
run pip install -r requirements.txt
if [ $? -ne 0 ]; then
rm -rf env
exit $?
fi
fi