mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
- make internal links relative where applicable - delete link to the wiki, as the documentation is in the main repo, not the wiki - remove some "example in oai code" as the examples either don't exist, or are not in that place, and we can reasonably expect people to grep Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
34 lines
749 B
Bash
Executable File
34 lines
749 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
branch=$(git rev-parse --abbrev-ref HEAD)
|
|
file=../../test_results.html
|
|
rm -f ${file}
|
|
|
|
cd ../../
|
|
python3 main.py \
|
|
--mode=InitiateHtml \
|
|
--repository=https://github.com/duranta-project/openairinterface5g.git \
|
|
--branch=${branch} \
|
|
--XMLTestFile=tests/test-runner/test.xml
|
|
|
|
python3 main.py \
|
|
--mode=TesteNB \
|
|
--repository=https://github.com/duranta-project/openairinterface5g.git \
|
|
--branch=${branch} \
|
|
--ranAllowMerge=true \
|
|
--targetBranch=develop \
|
|
--workspace=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
|