After having transitioned to direct node names in the XML, these
parameters are not relevant anymore.
The best way to view this patch is with
git show <SHA> --ignore-all-space
38 lines
870 B
Bash
Executable File
38 lines
870 B
Bash
Executable File
#/bin/bash
|
|
|
|
branch=$(git rev-parse --abbrev-ref HEAD)
|
|
commit=$(git rev-parse HEAD)
|
|
file=../../test_results.html
|
|
rm -f ${file}
|
|
|
|
cd ../../
|
|
python3 main.py \
|
|
--mode=InitiateHtml \
|
|
--ranRepository=https://gitlab.eurecom.fr/oai/openairinterface5g.git \
|
|
--ranBranch=${branch} \
|
|
--ranCommitID=${commit} \
|
|
--ranAllowMerge=true \
|
|
--ranTargetBranch=develop \
|
|
--XMLTestFile=tests/test-runner/test.xml
|
|
|
|
python3 main.py \
|
|
--mode=TesteNB \
|
|
--ranRepository=https://gitlab.eurecom.fr/oai/openairinterface5g.git \
|
|
--ranBranch=${branch} \
|
|
--ranCommitID=${commit} \
|
|
--ranAllowMerge=true \
|
|
--ranTargetBranch=develop \
|
|
--eNBSourceCodePath=NONE \
|
|
--XMLTestFile=tests/test-runner/test.xml
|
|
|
|
python3 main.py \
|
|
--mode=FinalizeHtml \
|
|
--finalStatus=true
|
|
cd -
|
|
|
|
if [ -f ${file} ]; then
|
|
echo "results are in ${file}"
|
|
else
|
|
echo "ERROR: no results file created"
|
|
fi
|